| Package | Description |
|---|---|
| com.github.underscore | |
| com.github.underscore.lodash |
| Modifier and Type | Method and Description |
|---|---|
static <A,B> Tuple<A,B> |
Tuple.create(A a,
B b) |
Tuple<T,List<T>> |
$.pop() |
static <T> Tuple<T,List<T>> |
$.pop(List<T> list) |
Tuple<T,List<T>> |
$.set(int index,
T value) |
static <T> Tuple<T,List<T>> |
$.set(List<T> list,
int index,
T value) |
Tuple<T,List<T>> |
$.shift() |
static <T> Tuple<T,List<T>> |
$.shift(List<T> list) |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> List<Tuple<V,K>> |
$.invert(Map<K,V> object) |
static <K,V> List<Tuple<K,V>> |
$.mapObject(Map<K,V> object,
Function<? super V,V> func) |
static <K,V> List<Tuple<K,V>> |
$.object(List<K> keys,
List<V> values) |
static <K,V> List<Tuple<K,V>> |
$.omit(Map<K,V> object,
Predicate<V> pred) |
static <K,V> List<Tuple<K,V>> |
$.omit(Map<K,V> object,
V... keys) |
static <K,V> List<Tuple<K,V>> |
$.pairs(Map<K,V> object) |
static <K,V> List<Tuple<K,V>> |
$.pick(Map<K,V> object,
Predicate<V> pred) |
static <K,V> List<Tuple<K,V>> |
$.pick(Map<K,V> object,
V... keys) |
$.Chain<Tuple<T,List<T>>> |
$.Chain.pop() |
$.Chain<Tuple<T,List<T>>> |
$.Chain.shift() |
| Modifier and Type | Method and Description |
|---|---|
static <T,E> Optional<E> |
$.findWhere(Iterable<E> iterable,
List<Tuple<String,T>> properties) |
<E> Optional<T> |
$.findWhere(List<Tuple<String,E>> properties) |
<E> $.Chain<Optional<T>> |
$.Chain.findWhere(List<Tuple<String,E>> properties) |
static <K,V> Map<K,V> |
$.toMap(List<Tuple<K,V>> tuples) |
static <T,E> List<E> |
$.where(List<E> list,
List<Tuple<String,T>> properties) |
<E> List<T> |
$.where(List<Tuple<String,E>> properties) |
<E> $.Chain<T> |
$.Chain.where(List<Tuple<String,E>> properties) |
static <T,E> Set<E> |
$.where(Set<E> set,
List<Tuple<String,T>> properties) |
| Modifier and Type | Method and Description |
|---|---|
<E> $.Chain<Optional<T>> |
$.Chain.findWhere(List<Tuple<String,E>> properties) |
<E> $.Chain<T> |
$.Chain.where(List<Tuple<String,E>> properties) |
Copyright © 2018. All rights reserved.