所有方法 静态方法 实例方法 具体方法
| 限定符和类型 |
方法和说明 |
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() |
Set<E> |
asSet(boolean sequential) |
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) |
boolean |
contains(E e) |
int |
count() |
Pipeline<E> |
distinct() |
Pipeline<E> |
filter(Predicate<E> predicate) |
Pipeline<E> |
filter(Predicate<E> predicate,
Predicate<E> breakPredicate) |
E |
findFirst() |
E |
findFirst(Predicate<E> predicate) |
Pipeline<E> |
findN(int n) |
Pipeline<E> |
findN(Predicate<E> predicate,
int n) |
<O> O |
firstMap(Function2<Integer,E,O> mapper) |
<O> O |
firstMap(Function2<Integer,E,O> mapper,
Predicate<O> breakPredicate) |
<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) |
void |
forEach(Consumer2<Integer,E> consumer,
Predicate2<Integer,E> breakPredicate) |
void |
forEach(Predicate<E> consumePredicate,
Consumer<E> consumer) |
void |
forEach(Predicate<E> consumePredicate,
Consumer<E> consumer,
Predicate<E> breakPredicate) |
void |
forEach(Predicate2<Integer,E> consumePredicate,
Consumer2<Integer,E> consumer) |
void |
forEach(Predicate2<Integer,E> consumePredicate,
Consumer2<Integer,E> consumer,
Predicate2<Integer,E> breakPredicate) |
Collection<E> |
getAll() |
<K> Map<K,List<E>> |
groupBy(Function<E,K> classifier) |
<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) |
<K> Pipeline<List<E>> |
partitionBy(Function<E,K> classifier) |
<K> Pipeline<List<E>> |
partitionBy(Function2<Integer,E,K> classifier) |
E |
reduce(Operator2<E> operator) |
Pipeline<E> |
reverse() |
Pipeline<E> |
reverse(boolean newOne) |
Pipeline<E> |
shuffle() |
Pipeline<E> |
shuffle(Random random) |
Pipeline<E> |
skip(int n) |
Pipeline<E> |
sort(Comparator<E> comparator) |
Pipeline<E> |
sorted(Comparator<E> comparator) |
Pipeline<E> |
subPipeline(int offset,
int limit) |
Double |
sum() |
Pipeline<E> |
swap(int i,
int j) |
Object[] |
toArray() |
E[] |
toArray(Class<E[]> clazz) |