| Modifier and Type | Method and Description |
|---|---|
$.Chain<List<T>> |
chunk(int size) |
$.Chain<T> |
compact() |
$.Chain<T> |
compact(T falsyValue) |
$.Chain<T> |
concat(List<T>... lists) |
$.Chain<Boolean> |
contains(T elem) |
<F> $.Chain<Map<F,Integer>> |
countBy(com.github.underscore.Function1<T,F> func) |
$.Chain<List<T>> |
createPermutationWithRepetition(int permutationLength) |
$.Chain<T> |
difference(List<T>... lists) |
$.Chain<T> |
distinct() |
<F> $.Chain<F> |
distinctBy(com.github.underscore.Function1<T,F> func) |
$.Chain<Boolean> |
every(com.github.underscore.Predicate<T> pred) |
$.Chain<T> |
filter(com.github.underscore.Predicate<T> pred) |
$.Chain<com.github.underscore.Optional<T>> |
find(com.github.underscore.Predicate<T> pred) |
$.Chain<com.github.underscore.Optional<T>> |
findLast(com.github.underscore.Predicate<T> pred) |
<E> $.Chain<com.github.underscore.Optional<T>> |
findWhere(List<com.github.underscore.Tuple<String,E>> properties) |
$.Chain<T> |
first() |
$.Chain<T> |
first(int n) |
$.Chain<T> |
firstOrNull() |
$.Chain<T> |
firstOrNull(com.github.underscore.Predicate<T> pred) |
$.Chain |
flatten() |
$.Chain<T> |
forEach(com.github.underscore.Block<T> func) |
$.Chain<T> |
forEachRight(com.github.underscore.Block<T> func) |
<F> $.Chain<Map<F,List<T>>> |
groupBy(com.github.underscore.Function1<T,F> func) |
$.Chain<Map<Object,List<T>>> |
indexBy(String property) |
$.Chain<T> |
initial() |
$.Chain<T> |
initial(int n) |
$.Chain<T> |
intersection(List<T>... lists) |
$.Chain<T> |
invoke(String methodName) |
$.Chain<T> |
invoke(String methodName,
List<Object> args) |
$.Chain<String> |
join() |
$.Chain<String> |
join(String separator) |
$.Chain<T> |
last() |
$.Chain<T> |
last(int n) |
$.Chain<T> |
lastOrNull() |
$.Chain<T> |
lastOrNull(com.github.underscore.Predicate<T> pred) |
$.Chain<T> |
limit(int size) |
<F> $.Chain<F> |
map(com.github.underscore.Function1<? super T,F> func) |
$.Chain<Comparable> |
max() |
<F extends Comparable<? super F>> |
max(com.github.underscore.Function1<T,F> func) |
$.Chain<Double> |
mean() |
$.Chain<Double> |
median() |
$.Chain<Comparable> |
min() |
<F extends Comparable<? super F>> |
min(com.github.underscore.Function1<T,F> func) |
$.Chain<Object> |
pluck(String propertyName) |
$.Chain<Integer> |
range(int stop) |
$.Chain<Integer> |
range(int start,
int stop) |
$.Chain<Integer> |
range(int start,
int stop,
int step) |
<F> $.Chain<F> |
reduce(com.github.underscore.FunctionAccum<F,T> func,
F zeroElem) |
<F> $.Chain<F> |
reduceRight(com.github.underscore.FunctionAccum<F,T> func,
F zeroElem) |
$.Chain<T> |
reject(com.github.underscore.Predicate<T> pred) |
$.Chain<T> |
rest() |
$.Chain<T> |
rest(int n) |
$.Chain<T> |
reverse() |
$.Chain<T> |
sample() |
$.Chain<T> |
sample(int howMany) |
$.Chain<T> |
shuffle() |
$.Chain<T> |
skip(int numberToSkip) |
$.Chain<T> |
slice(int start) |
$.Chain<T> |
slice(int start,
int end) |
$.Chain<Boolean> |
some(com.github.underscore.Predicate<T> pred) |
$.Chain<Comparable> |
sort() |
<F extends Comparable<? super F>> |
sortBy(com.github.underscore.Function1<T,F> func) |
<K> $.Chain<Map<K,Comparable>> |
sortBy(K key) |
<F extends Comparable<? super F>> |
sortWith(Comparator<F> comparator) |
<T extends Number> |
sum() |
<F extends Number> |
sum(com.github.underscore.Function1<T,F> func) |
$.Chain<T> |
tap(com.github.underscore.Block<T> func) |
<K,V> $.Chain<Map<K,V>> |
toMap() |
$.Chain<T> |
union(List<T>... lists) |
$.Chain<T> |
uniq() |
<F> $.Chain<F> |
uniq(com.github.underscore.Function1<T,F> func) |
<E> $.Chain<T> |
where(List<com.github.underscore.Tuple<String,E>> properties) |
public $.Chain<T> firstOrNull()
firstOrNull in class com.github.underscore.$.Chain<T>public $.Chain<T> firstOrNull(com.github.underscore.Predicate<T> pred)
firstOrNull in class com.github.underscore.$.Chain<T>public $.Chain<T> initial(int n)
initial in class com.github.underscore.$.Chain<T>public $.Chain<T> lastOrNull()
lastOrNull in class com.github.underscore.$.Chain<T>public $.Chain<T> lastOrNull(com.github.underscore.Predicate<T> pred)
lastOrNull in class com.github.underscore.$.Chain<T>public $.Chain<T> compact(T falsyValue)
compact in class com.github.underscore.$.Chain<T>public <F> $.Chain<F> map(com.github.underscore.Function1<? super T,F> func)
map in class com.github.underscore.$.Chain<T>public $.Chain<T> filter(com.github.underscore.Predicate<T> pred)
filter in class com.github.underscore.$.Chain<T>public $.Chain<T> reject(com.github.underscore.Predicate<T> pred)
reject in class com.github.underscore.$.Chain<T>public <F> $.Chain<F> reduce(com.github.underscore.FunctionAccum<F,T> func, F zeroElem)
reduce in class com.github.underscore.$.Chain<T>public <F> $.Chain<F> reduceRight(com.github.underscore.FunctionAccum<F,T> func, F zeroElem)
reduceRight in class com.github.underscore.$.Chain<T>public $.Chain<com.github.underscore.Optional<T>> find(com.github.underscore.Predicate<T> pred)
find in class com.github.underscore.$.Chain<T>public $.Chain<com.github.underscore.Optional<T>> findLast(com.github.underscore.Predicate<T> pred)
findLast in class com.github.underscore.$.Chain<T>public $.Chain<Comparable> max()
max in class com.github.underscore.$.Chain<T>public <F extends Comparable<? super F>> $.Chain<T> max(com.github.underscore.Function1<T,F> func)
max in class com.github.underscore.$.Chain<T>public $.Chain<Comparable> min()
min in class com.github.underscore.$.Chain<T>public <F extends Comparable<? super F>> $.Chain<T> min(com.github.underscore.Function1<T,F> func)
min in class com.github.underscore.$.Chain<T>public $.Chain<Comparable> sort()
sort in class com.github.underscore.$.Chain<T>public <F extends Comparable<? super F>> $.Chain<F> sortWith(Comparator<F> comparator)
sortWith in class com.github.underscore.$.Chain<T>public <F extends Comparable<? super F>> $.Chain<T> sortBy(com.github.underscore.Function1<T,F> func)
sortBy in class com.github.underscore.$.Chain<T>public <K> $.Chain<Map<K,Comparable>> sortBy(K key)
sortBy in class com.github.underscore.$.Chain<T>public <F> $.Chain<Map<F,List<T>>> groupBy(com.github.underscore.Function1<T,F> func)
groupBy in class com.github.underscore.$.Chain<T>public $.Chain<Map<Object,List<T>>> indexBy(String property)
indexBy in class com.github.underscore.$.Chain<T>public <F> $.Chain<Map<F,Integer>> countBy(com.github.underscore.Function1<T,F> func)
countBy in class com.github.underscore.$.Chain<T>public $.Chain<T> sample(int howMany)
sample in class com.github.underscore.$.Chain<T>public $.Chain<T> tap(com.github.underscore.Block<T> func)
tap in class com.github.underscore.$.Chain<T>public $.Chain<T> forEach(com.github.underscore.Block<T> func)
forEach in class com.github.underscore.$.Chain<T>public $.Chain<T> forEachRight(com.github.underscore.Block<T> func)
forEachRight in class com.github.underscore.$.Chain<T>public $.Chain<Boolean> every(com.github.underscore.Predicate<T> pred)
every in class com.github.underscore.$.Chain<T>public $.Chain<Boolean> some(com.github.underscore.Predicate<T> pred)
some in class com.github.underscore.$.Chain<T>public $.Chain<Boolean> contains(T elem)
contains in class com.github.underscore.$.Chain<T>public $.Chain<T> invoke(String methodName, List<Object> args)
invoke in class com.github.underscore.$.Chain<T>public $.Chain<T> invoke(String methodName)
invoke in class com.github.underscore.$.Chain<T>public $.Chain<Object> pluck(String propertyName)
pluck in class com.github.underscore.$.Chain<T>public <E> $.Chain<T> where(List<com.github.underscore.Tuple<String,E>> properties)
where in class com.github.underscore.$.Chain<T>public <E> $.Chain<com.github.underscore.Optional<T>> findWhere(List<com.github.underscore.Tuple<String,E>> properties)
findWhere in class com.github.underscore.$.Chain<T>public <F> $.Chain<F> uniq(com.github.underscore.Function1<T,F> func)
uniq in class com.github.underscore.$.Chain<T>public <F> $.Chain<F> distinctBy(com.github.underscore.Function1<T,F> func)
distinctBy in class com.github.underscore.$.Chain<T>public $.Chain<T> union(List<T>... lists)
union in class com.github.underscore.$.Chain<T>public $.Chain<T> intersection(List<T>... lists)
intersection in class com.github.underscore.$.Chain<T>public $.Chain<T> difference(List<T>... lists)
difference in class com.github.underscore.$.Chain<T>public $.Chain<Integer> range(int stop)
range in class com.github.underscore.$.Chain<T>public $.Chain<Integer> range(int start, int stop)
range in class com.github.underscore.$.Chain<T>public $.Chain<Integer> range(int start, int stop, int step)
range in class com.github.underscore.$.Chain<T>public $.Chain<List<T>> chunk(int size)
chunk in class com.github.underscore.$.Chain<T>public $.Chain<T> concat(List<T>... lists)
concat in class com.github.underscore.$.Chain<T>public $.Chain<T> slice(int start, int end)
slice in class com.github.underscore.$.Chain<T>public $.Chain<String> join(String separator)
join in class com.github.underscore.$.Chain<T>public $.Chain<T> skip(int numberToSkip)
skip in class com.github.underscore.$.Chain<T>public <K,V> $.Chain<Map<K,V>> toMap()
toMap in class com.github.underscore.$.Chain<T>Copyright © 2017. All rights reserved.