All Methods Instance Methods Concrete Methods
Modifier and Type |
Method |
Description |
U.Chain<List<T>> |
chunk(int size) |
|
U.Chain<List<T>> |
chunk(int size,
int step) |
|
U.Chain<List<T>> |
chunkFill(int size,
int step,
T fillValue) |
|
U.Chain<List<T>> |
chunkFill(int size,
T fillValue) |
|
U.Chain<T> |
compact() |
|
U.Chain<T> |
compact(T falsyValue) |
|
U.Chain<T> |
concat(List<T>... lists) |
|
U.Chain<Boolean> |
contains(T elem) |
|
U.Chain<Boolean> |
containsWith(T elem) |
|
U.Chain<Integer> |
count(Predicate<T> pred) |
|
U.Chain<Map<T,Integer>> |
countBy() |
|
<F> U.Chain<Map<F,Integer>> |
countBy(Function<T,F> func) |
|
U.Chain<T> |
cycle(int times) |
|
U.Chain<T> |
difference(List<T>... lists) |
|
U.Chain<T> |
distinct() |
|
<F> U.Chain<F> |
distinctBy(Function<T,F> func) |
|
U.Chain<Boolean> |
every(Predicate<T> pred) |
|
U.Chain<T> |
filter(Predicate<T> pred) |
|
U.Chain<T> |
filterFalse(Predicate<T> pred) |
|
U.Chain<T> |
filterIndexed(PredicateIndexed<T> pred) |
|
U.Chain<Optional<T>> |
find(Predicate<T> pred) |
|
U.Chain<Optional<T>> |
findLast(Predicate<T> pred) |
|
<E> U.Chain<Optional<T>> |
findWhere(List<Tuple<String,E>> properties) |
|
U.Chain<T> |
first() |
|
U.Chain<T> |
first(int n) |
|
U.Chain<T> |
first(Predicate<T> pred) |
|
U.Chain<T> |
first(Predicate<T> pred,
int n) |
|
U.Chain<T> |
firstOrNull() |
|
U.Chain<T> |
firstOrNull(Predicate<T> pred) |
|
U.Chain |
flatten() |
|
U.Chain<T> |
forEach(Consumer<T> func) |
|
U.Chain<T> |
forEachRight(Consumer<T> func) |
|
<F> U.Chain<Map<F,List<T>>> |
groupBy(Function<T,F> func) |
|
<F> U.Chain<Map<F,Optional<T>>> |
groupBy(Function<T,F> func,
BinaryOperator<T> binaryOperator) |
|
U.Chain<Map<Object,List<T>>> |
indexBy(String property) |
|
U.Chain<T> |
initial() |
|
U.Chain<T> |
initial(int n) |
|
U.Chain<T> |
interpose(T element) |
|
U.Chain<T> |
interposeByList(Iterable<T> interIter) |
|
U.Chain<T> |
intersection(List<T>... lists) |
|
U.Chain<T> |
invoke(String methodName) |
|
U.Chain<T> |
invoke(String methodName,
List<Object> args) |
|
boolean |
isEmpty() |
|
boolean |
isNotEmpty() |
|
T |
item() |
|
U.Chain<String> |
join() |
|
U.Chain<String> |
join(String separator) |
|
U.Chain<T> |
last() |
|
U.Chain<T> |
last(int n) |
|
U.Chain<T> |
lastOrNull() |
|
U.Chain<T> |
lastOrNull(Predicate<T> pred) |
|
U.Chain<T> |
limit(int size) |
|
Map<String,Object> |
map() |
|
<F> U.Chain<F> |
map(Function<? super T,F> func) |
|
<F> U.Chain<F> |
mapIndexed(BiFunction<Integer,? super T,F> func) |
|
<F> U.Chain<F> |
mapMulti(BiConsumer<? super T,? super Consumer<F>> mapper) |
|
U.Chain<Comparable> |
max() |
|
<F extends Comparable<? super F>> U.Chain<T> |
max(Function<T,F> func) |
|
U.Chain<Comparable> |
min() |
|
<F extends Comparable<? super F>> U.Chain<T> |
min(Function<T,F> func) |
|
U.Chain<Object> |
pluck(String propertyName) |
|
U.Chain<Tuple<T,List<T>>> |
pop() |
|
U.Chain<T> |
push(T... values) |
|
U.Chain<Integer> |
range(int stop) |
|
U.Chain<Integer> |
range(int start,
int stop) |
|
U.Chain<Integer> |
range(int start,
int stop,
int step) |
|
<F> U.Chain<F> |
reduce(BiFunction<F,T,F> func,
F zeroElem) |
|
U.Chain<Optional<T>> |
reduce(BinaryOperator<T> func) |
|
<F> U.Chain<F> |
reduceRight(BiFunction<F,T,F> func,
F zeroElem) |
|
U.Chain<Optional<T>> |
reduceRight(BinaryOperator<T> func) |
|
U.Chain<T> |
reject(Predicate<T> pred) |
|
U.Chain<T> |
rejectIndexed(PredicateIndexed<T> pred) |
|
U.Chain<T> |
replace(Predicate<T> pred,
T value) |
|
U.Chain<T> |
replaceIndexed(PredicateIndexed<T> pred,
T value) |
|
U.Chain<T> |
rest() |
|
U.Chain<T> |
rest(int n) |
|
U.Chain<T> |
reverse() |
|
U.Chain<T> |
sample() |
|
U.Chain<T> |
sample(int howMany) |
|
U.Chain<Tuple<T,List<T>>> |
shift() |
|
U.Chain<T> |
shuffle() |
|
int |
size() |
|
U.Chain<T> |
skip(int numberToSkip) |
|
U.Chain<T> |
slice(int start) |
|
U.Chain<T> |
slice(int start,
int end) |
|
U.Chain<Boolean> |
some(Predicate<T> pred) |
|
U.Chain<Comparable> |
sort() |
|
<F extends Comparable<? super F>> U.Chain<T> |
sortBy(Function<T,F> func) |
|
<K> U.Chain<Map<K,Comparable>> |
sortBy(K key) |
|
<F extends Comparable<? super F>> U.Chain<F> |
sortWith(Comparator<F> comparator) |
|
U.Chain<List<T>> |
splitAt(int position) |
|
U.Chain<T> |
takeSkipping(int stepSize) |
|
U.Chain<T> |
tap(Consumer<T> func) |
|
List<T> |
toList() |
|
<K,V> U.Chain<Map<K,V>> |
toMap() |
|
String |
toString() |
|
U.Chain<T> |
union(List<T>... lists) |
|
U.Chain<T> |
uniq() |
|
<F> U.Chain<T> |
uniq(Function<T,F> func) |
|
U.Chain<T> |
unshift(T... values) |
|
List<T> |
value() |
|
<E> U.Chain<T> |
where(List<Tuple<String,E>> properties) |
|