所有方法 静态方法 实例方法 具体方法
| 限定符和类型 |
方法和说明 |
Pipeline<E> |
add(E e) |
<C extends Collection<E>> Pipeline<E> |
addAll(C collection) |
<C extends Collection<E>> void |
addTo(C collection) |
boolean |
allMatch(Predicate<E> predicate) |
boolean |
anyMatch(Predicate<E> predicate) |
List<E> |
asList() |
Double |
average() |
Pipeline<E> |
clearNulls() |
<R> R |
collect(Collector<E,R> collector) |
<C extends Collection<E>> Pipeline<E> |
concat(C another) |
Pipeline<E> |
concat(Pipeline<E> another) |
int |
count() |
Pipeline<E> |
distinct() |
Pipeline<E> |
filter(Predicate<E> predicate) |
E |
findFirst() |
E |
findFirst(Predicate<E> predicate) |
<I,O> Pipeline<O> |
flatMap(Function<I,O> mapper) |
void |
forEach(Consumer<E> consumer) |
void |
forEach(Consumer<E> consumer,
Predicate<E> breakPredicate) |
void |
forEach(Consumer2<Integer,E> consumer,
Predicate2<Integer,E> breakPredicate) |
Collection<E> |
getAll() |
<K> Map<K,List<E>> |
groupBy(Function<E,K> classifier,
Supplier0<Map<K,List<E>>> mapFactory) |
Iterator<E> |
iterator() |
Pipeline<E> |
limit(int maxSize) |
Pipeline<E> |
listized() |
<O> Pipeline<O> |
map(Function<E,O> mapper) |
E |
max(Comparator<E> comparator) |
E |
min(Comparator<E> comparator) |
boolean |
noneMatch(Predicate<E> predicate) |
static <T> Pipeline<T> |
of(Iterable<T> iterable) |
static <T> Pipeline<T> |
of(Object anyObject) |
static <T> Pipeline<T> |
of(T... array) |
E |
reduce(Operator2<E> operator) |
Pipeline |
skip(int n) |
Pipeline<E> |
sorted(Comparator<E> comparator) |
Double |
sum() |
Object[] |
toArray() |
E[] |
toArray(Class<E[]> clazz) |