DkIterableFindExt<E> extension
可迭代对象查找功能扩展
- on
-
- Iterable<
E>
- Iterable<
Methods
-
count(
[bool test(E element)?]) → int -
Available on Iterable<
返回满足E> , provided by the DkIterableFindExt extensiontest条件的元素个数。test为空,则返回所有数量。 -
filter(
bool test(E element)) → Iterable< E> -
Available on Iterable<
等同 whereE> , provided by the DkIterableFindExt extension -
find(
bool test(E element)) → E? -
Available on Iterable<
查找符合条件的元素。E> , provided by the DkIterableFindExt extension -
findLast(
bool test(E element)) → E? -
Available on Iterable<
查找最后一个符合条件的元素。E> , provided by the DkIterableFindExt extension