| Package | Description |
|---|---|
| com.github.underscore | |
| com.github.underscore.lodash |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BinaryOperator<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T,E> E |
U.foldl(Iterable<T> iterable,
BiFunction<E,T,E> func,
E zeroElem) |
static <T,E> E |
U.foldr(Iterable<T> iterable,
BiFunction<E,T,E> func,
E zeroElem) |
static <T,E> E |
U.inject(Iterable<T> iterable,
BiFunction<E,T,E> func,
E zeroElem) |
<F> List<F> |
U.mapIndexed(BiFunction<Integer,? super T,F> func) |
<F> U.Chain<F> |
U.Chain.mapIndexed(BiFunction<Integer,? super T,F> func) |
static <T,E> List<T> |
U.mapIndexed(List<E> list,
BiFunction<Integer,? super E,T> func) |
<F> U.Chain<F> |
U.Chain.reduce(BiFunction<F,T,F> func,
F zeroElem) |
static <E> E |
U.reduce(int[] array,
BiFunction<E,? super Integer,E> func,
E zeroElem) |
static <T,E> E |
U.reduce(Iterable<T> iterable,
BiFunction<E,T,E> func,
E zeroElem) |
static <T,E> E |
U.reduce(T[] array,
BiFunction<E,T,E> func,
E zeroElem) |
<F> U.Chain<F> |
U.Chain.reduceRight(BiFunction<F,T,F> func,
F zeroElem) |
static <E> E |
U.reduceRight(int[] array,
BiFunction<E,? super Integer,E> func,
E zeroElem) |
static <T,E> E |
U.reduceRight(Iterable<T> iterable,
BiFunction<E,T,E> func,
E zeroElem) |
static <T,E> E |
U.reduceRight(T[] array,
BiFunction<E,T,E> func,
E zeroElem) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
Xml.fromXmlWithElementMapper(String xml,
BiFunction<Object,Set<String>,String> elementMapper) |
<F> U.Chain<F> |
U.Chain.mapIndexed(BiFunction<Integer,? super T,F> func) |
<F> U.Chain<F> |
U.Chain.reduce(BiFunction<F,T,F> func,
F zeroElem) |
<F> U.Chain<F> |
U.Chain.reduceRight(BiFunction<F,T,F> func,
F zeroElem) |
static Map<String,Object> |
U.setValue(Map<String,Object> map,
String key,
BiFunction<String,Object,Object> newValue) |
Copyright © 2020. All rights reserved.