| Package | Description |
|---|---|
| com.landawn.abacus.util | |
| com.landawn.abacus.util.stream |
| Modifier and Type | Class and Description |
|---|---|
class |
LazyInitializer<T> |
| Modifier and Type | Field and Description |
|---|---|
static Supplier<LinkedHashMap<String,Object>> |
Fn.SUPPLIER_OF_LINKED_HASH_MAP |
static Supplier<Map<String,Object>> |
Fn.SUPPLIER_OF_MAP |
| Modifier and Type | Method and Description |
|---|---|
static <T> Supplier<T> |
Fn.memoize(Supplier<T> supplier)
Returns a
Supplier which returns a single instance created by calling the specified supplier.get(). |
static <T> Supplier<ArrayDeque<T>> |
Fn.Suppliers.ofArrayDeque()
Of array deque.
|
static <K,V> Supplier<BiMap<K,V>> |
Fn.Suppliers.ofBiMap() |
static <K,V> Supplier<ConcurrentHashMap<K,V>> |
Fn.Suppliers.ofConcurrentHashMap() |
static <T> Supplier<ConcurrentLinkedQueue<T>> |
Fn.Suppliers.ofConcurrentLinkedQueue()
Of concurrent linked queue.
|
static <K,V> Supplier<ConcurrentMap<K,V>> |
Fn.Suppliers.ofConcurrentMap()
Of concurrent map.
|
static <T> Supplier<Deque<T>> |
Fn.Suppliers.ofDeque() |
static Supplier<boolean[]> |
Fn.Suppliers.ofEmptyBooleanArray()
Of empty boolean array.
|
static Supplier<byte[]> |
Fn.Suppliers.ofEmptyByteArray()
Of empty byte array.
|
static Supplier<char[]> |
Fn.Suppliers.ofEmptyCharArray()
Of empty char array.
|
static Supplier<double[]> |
Fn.Suppliers.ofEmptyDoubleArray()
Of empty double array.
|
static Supplier<float[]> |
Fn.Suppliers.ofEmptyFloatArray()
Of empty float array.
|
static Supplier<int[]> |
Fn.Suppliers.ofEmptyIntArray()
Of empty int array.
|
static Supplier<long[]> |
Fn.Suppliers.ofEmptyLongArray()
Of empty long array.
|
static Supplier<Object[]> |
Fn.Suppliers.ofEmptyObjectArray()
Of empty object array.
|
static Supplier<short[]> |
Fn.Suppliers.ofEmptyShortArray()
Of empty short array.
|
static Supplier<String[]> |
Fn.Suppliers.ofEmptyStringArray()
Of empty string array.
|
static Supplier<String> |
Fn.Suppliers.ofGUID() |
static <K,V> Supplier<IdentityHashMap<K,V>> |
Fn.Suppliers.ofIdentityHashMap()
Of identity hash map.
|
static Supplier<ImmutableList<?>> |
Fn.Suppliers.ofImmutableList()
Deprecated.
|
static Supplier<ImmutableMap<?,?>> |
Fn.Suppliers.ofImmutableMap()
Deprecated.
|
static Supplier<ImmutableSet<?>> |
Fn.Suppliers.ofImmutableSet()
Deprecated.
|
static <T> Supplier<T> |
Fn.Suppliers.ofInstance(T instance)
Returns a supplier that always supplies
instance. |
static <T> Supplier<LinkedBlockingQueue<T>> |
Fn.Suppliers.ofLinkedBlockingQueue()
Of linked blocking queue.
|
static <K,V> Supplier<Map<K,V>> |
Fn.Suppliers.ofLinkedHashMap()
Of linked hash map.
|
static <T> Supplier<Set<T>> |
Fn.Suppliers.ofLinkedHashSet()
Of linked hash set.
|
static <T> Supplier<LinkedList<T>> |
Fn.Suppliers.ofLinkedList()
Of linked list.
|
static <T> Supplier<List<T>> |
Fn.Suppliers.ofList() |
static <K,E> Supplier<ListMultimap<K,E>> |
Fn.Suppliers.ofListMultimap() |
static <K,E> Supplier<ListMultimap<K,E>> |
Fn.Suppliers.ofListMultimap(Class<? extends Map> mapType) |
static <K,E> Supplier<ListMultimap<K,E>> |
Fn.Suppliers.ofListMultimap(Class<? extends Map> mapType,
Class<? extends List> valueType) |
static <K,E> Supplier<ListMultimap<K,E>> |
Fn.Suppliers.ofListMultimap(Supplier<? extends Map<K,List<E>>> mapSupplier,
Supplier<? extends List<E>> valueSupplier) |
static <K,V> Supplier<Map<K,V>> |
Fn.Suppliers.ofMap() |
static <K,E,V extends Collection<E>> |
Fn.Suppliers.ofMultimap(Supplier<? extends Map<K,V>> mapSupplier,
Supplier<? extends V> valueSupplier) |
static <T> Supplier<Multiset<T>> |
Fn.Suppliers.ofMultiset() |
static <T> Supplier<Multiset<T>> |
Fn.Suppliers.ofMultiset(Class<? extends Map> valueMapType) |
static <T> Supplier<Multiset<T>> |
Fn.Suppliers.ofMultiset(Supplier<? extends Map<T,?>> mapSupplier) |
static <K,V> Supplier<NavigableMap<K,V>> |
Fn.Suppliers.ofNavigableMap()
Of navigable map.
|
static <T> Supplier<NavigableSet<T>> |
Fn.Suppliers.ofNavigableSet()
Of navigable set.
|
static <T> Supplier<PriorityQueue<T>> |
Fn.Suppliers.ofPriorityQueue()
Of priority queue.
|
static <T> Supplier<Queue<T>> |
Fn.Suppliers.ofQueue() |
static <T> Supplier<Set<T>> |
Fn.Suppliers.ofSet() |
static <K,E> Supplier<SetMultimap<K,E>> |
Fn.Suppliers.ofSetMultimap() |
static <K,E> Supplier<SetMultimap<K,E>> |
Fn.Suppliers.ofSetMultimap(Class<? extends Map> mapType) |
static <K,E> Supplier<SetMultimap<K,E>> |
Fn.Suppliers.ofSetMultimap(Class<? extends Map> mapType,
Class<? extends Set> valueType) |
static <K,E> Supplier<SetMultimap<K,E>> |
Fn.Suppliers.ofSetMultimap(Supplier<? extends Map<K,Set<E>>> mapSupplier,
Supplier<? extends Set<E>> valueSupplier) |
static <K,V> Supplier<SortedMap<K,V>> |
Fn.Suppliers.ofSortedMap()
Of sorted map.
|
static <T> Supplier<SortedSet<T>> |
Fn.Suppliers.ofSortedSet()
Of sorted set.
|
static Supplier<StringBuilder> |
Fn.Suppliers.ofStringBuilder()
Of string builder.
|
static <K,V> Supplier<TreeMap<K,V>> |
Fn.Suppliers.ofTreeMap()
Of tree map.
|
static <T> Supplier<TreeSet<T>> |
Fn.Suppliers.ofTreeSet()
Of tree set.
|
static Supplier<String> |
Fn.Suppliers.ofUUID() |
static <T,C extends Collection<T>> |
Fn.reuse(Supplier<? extends C> supplier)
Deprecated.
|
static <T,C extends Collection<T>> |
Fn.Suppliers.single(Supplier<? extends C> supplier)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Joiner |
Joiner.appendIf(boolean b,
Supplier<?> supplier) |
ExceptionalStream<T,E> |
ExceptionalStream.appendIfEmpty(Supplier<? extends ExceptionalStream<T,E>> supplier)
Append if empty.
|
static <A,B,C,D,R> |
Fn.applyIfNotNullOrGet(Function<A,B> mapperA,
Function<B,C> mapperB,
Function<C,D> mapperC,
Function<D,R> mapperD,
Supplier<R> supplier)
Apply if not null or get.
|
static <A,B,C,R> Function<A,R> |
Fn.applyIfNotNullOrGet(Function<A,B> mapperA,
Function<B,C> mapperB,
Function<C,R> mapperC,
Supplier<R> supplier)
Apply if not null or get.
|
static <A,B,R> Function<A,R> |
Fn.applyIfNotNullOrGet(Function<A,B> mapperA,
Function<B,R> mapperB,
Supplier<R> supplier)
Apply if not null or get.
|
static <R> R |
Try.call(Callable<R> cmd,
Predicate<? super Exception> predicate,
Supplier<R> supplier) |
static <R> R |
Try.call(Callable<R> cmd,
Supplier<R> supplier) |
static <R> R |
Throwables.call(Throwables.Callable<R,? extends Throwable> cmd,
Predicate<? super Throwable> predicate,
Supplier<R> supplier) |
static <R> R |
Throwables.call(Throwables.Callable<R,? extends Throwable> cmd,
Supplier<R> supplier) |
<R> R |
Try.call(Throwables.Function<? super T,R,? extends Exception> cmd,
Predicate<? super Exception> predicate,
Supplier<R> supplier) |
<R> R |
Try.call(Throwables.Function<? super T,R,? extends Exception> cmd,
Supplier<R> supplier) |
<C extends Collection<T>> |
ExceptionalStream.collapse(Throwables.BiPredicate<? super T,? super T,? extends E> collapsible,
Supplier<? extends C> supplier) |
static <M extends Map<String,Object>> |
Maps.deepEntity2Map(Object entity,
Supplier<? extends M> mapSupplier)
Deep entity to map.
|
static <T extends CharSequence> |
StringUtil.defaultIfBlank(T str,
Supplier<? extends T> getterForDefaultStr) |
ExceptionalStream<T,E> |
ExceptionalStream.defaultIfEmpty(Supplier<? extends ExceptionalStream<T,E>> supplier) |
static <T extends CharSequence> |
StringUtil.defaultIfEmpty(T str,
Supplier<? extends T> getterForDefaultStr) |
static <T,C extends Collection<T>,E extends Exception> |
N.distinctBy(Collection<? extends T> c,
Throwables.Function<? super T,?,E> keyMapper,
Supplier<C> supplier)
Distinct by the value mapped from
keyMapper. |
static <T,C extends Collection<T>,E extends Exception> |
N.distinctBy(T[] a,
Throwables.Function<? super T,?,E> keyMapper,
Supplier<C> supplier)
Distinct by the value mapped from
keyMapper. |
static <M extends Map<String,Object>> |
Maps.entity2FlatMap(Object entity,
Supplier<? extends M> mapSupplier)
Entity 2 flat map.
|
static <M extends Map<String,Object>> |
Maps.entity2Map(Object entity,
Supplier<? extends M> mapSupplier)
Entity to map.
|
static <M extends Map<String,Object>> |
Maps.flatten(Map<String,Object> map,
String delimiter,
Supplier<? extends M> mapSupplier) |
static <M extends Map<String,Object>> |
Maps.flatten(Map<String,Object> map,
Supplier<? extends M> mapSupplier) |
static <T> ObjIterator<T> |
ObjIterator.generate(BooleanSupplier hasNext,
Supplier<? extends T> supplier) |
static <T> ObjIterator<T> |
ObjIterator.generate(Supplier<? extends T> supplier)
Returns an infinite
ObjIterator. |
static <T> T |
Fn.get(Supplier<T> supplier) |
<K,A,D> ExceptionalStream<Map.Entry<K,D>,E> |
ExceptionalStream.groupBy(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Collector<? super T,A,D> downstream,
Supplier<? extends Map<K,D>> mapFactory) |
<K> ExceptionalStream<Map.Entry<K,List<T>>,E> |
ExceptionalStream.groupBy(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Supplier<? extends Map<K,List<T>>> mapFactory) |
<K,V,A,D> ExceptionalStream<Map.Entry<K,D>,E> |
ExceptionalStream.groupBy(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Throwables.Function<? super T,? extends V,? extends E> valueMapper,
Collector<? super V,A,D> downstream,
Supplier<? extends Map<K,D>> mapFactory) |
<K,V> ExceptionalStream<Map.Entry<K,List<V>>,E> |
ExceptionalStream.groupBy(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Throwables.Function<? super T,? extends V,? extends E> valueMapper,
Supplier<? extends Map<K,List<V>>> mapFactory) |
<K,V> ExceptionalStream<Map.Entry<K,V>,E> |
ExceptionalStream.groupBy(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Throwables.Function<? super T,? extends V,? extends E> valueMapper,
Throwables.BinaryOperator<V,? extends E> mergeFunction,
Supplier<? extends Map<K,V>> mapFactory) |
<K,M extends Map<K,List<T>>> |
ExceptionalStream.groupTo(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Supplier<? extends M> mapFactory) |
<K,V,M extends Map<K,List<V>>> |
ExceptionalStream.groupTo(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Throwables.Function<? super T,? extends V,? extends E> valueMapper,
Supplier<? extends M> mapFactory) |
static <T> LazyInitializer<T> |
N.lazyInit(Supplier<T> supplier) |
static <T> Supplier<T> |
Fn.memoize(Supplier<T> supplier)
Returns a
Supplier which returns a single instance created by calling the specified supplier.get(). |
static <T,K,V,M extends Map<K,V>,E extends Exception,E2 extends Exception> |
Maps.newMap(Iterator<? extends T> iter,
Throwables.Function<? super T,K,E> keyMapper,
Throwables.Function<? super T,? extends V,E2> valueExtractor,
Supplier<? extends M> mapSupplier) |
static <T> LazyInitializer<T> |
LazyInitializer.of(Supplier<T> supplier) |
static <K,E> Supplier<ListMultimap<K,E>> |
Fn.Suppliers.ofListMultimap(Supplier<? extends Map<K,List<E>>> mapSupplier,
Supplier<? extends List<E>> valueSupplier) |
static <K,E> Supplier<ListMultimap<K,E>> |
Fn.Suppliers.ofListMultimap(Supplier<? extends Map<K,List<E>>> mapSupplier,
Supplier<? extends List<E>> valueSupplier) |
static <K,E,V extends Collection<E>> |
Fn.Suppliers.ofMultimap(Supplier<? extends Map<K,V>> mapSupplier,
Supplier<? extends V> valueSupplier) |
static <K,E,V extends Collection<E>> |
Fn.Suppliers.ofMultimap(Supplier<? extends Map<K,V>> mapSupplier,
Supplier<? extends V> valueSupplier) |
static <T> Supplier<Multiset<T>> |
Fn.Suppliers.ofMultiset(Supplier<? extends Map<T,?>> mapSupplier) |
static <K,E> Supplier<SetMultimap<K,E>> |
Fn.Suppliers.ofSetMultimap(Supplier<? extends Map<K,Set<E>>> mapSupplier,
Supplier<? extends Set<E>> valueSupplier) |
static <K,E> Supplier<SetMultimap<K,E>> |
Fn.Suppliers.ofSetMultimap(Supplier<? extends Map<K,Set<E>>> mapSupplier,
Supplier<? extends Set<E>> valueSupplier) |
<E extends Throwable> |
If.OrElse.orElseThrow(Supplier<? extends E> exceptionSupplier)
Or else throw.
|
<E2 extends Throwable> |
Result.orElseThrow(Supplier<? extends E2> exceptionSupplier) |
<X extends Throwable> |
u.Optional.orElseThrow(Supplier<? extends X> exceptionSupplier)
Or else throw.
|
<X extends Throwable> |
u.OptionalBoolean.orElseThrow(Supplier<? extends X> exceptionSupplier)
Or else throw.
|
<X extends Throwable> |
u.OptionalChar.orElseThrow(Supplier<? extends X> exceptionSupplier)
Or else throw.
|
<X extends Throwable> |
u.OptionalByte.orElseThrow(Supplier<? extends X> exceptionSupplier)
Or else throw.
|
<X extends Throwable> |
u.OptionalShort.orElseThrow(Supplier<? extends X> exceptionSupplier)
Or else throw.
|
<X extends Throwable> |
u.OptionalInt.orElseThrow(Supplier<? extends X> exceptionSupplier)
Or else throw.
|
<X extends Throwable> |
u.OptionalLong.orElseThrow(Supplier<? extends X> exceptionSupplier)
Or else throw.
|
<X extends Throwable> |
u.OptionalFloat.orElseThrow(Supplier<? extends X> exceptionSupplier)
Or else throw.
|
<X extends Throwable> |
u.OptionalDouble.orElseThrow(Supplier<? extends X> exceptionSupplier)
Or else throw.
|
<X extends Throwable> |
u.Nullable.orElseThrow(Supplier<? extends X> exceptionSupplier)
Or else throw.
|
<X extends Throwable> |
u.Nullable.orElseThrowIfNull(Supplier<? extends X> exceptionSupplier)
Or else throw if null.
|
static <K,V> V |
Maps.putIfAbsent(Map<K,V> map,
K key,
Supplier<V> supplier)
Put if absent.
|
static <T,C extends Collection<T>> |
Fn.reuse(Supplier<? extends C> supplier)
Deprecated.
|
static <T,C extends Collection<T>> |
Fn.Suppliers.single(Supplier<? extends C> supplier)
Deprecated.
|
<C extends Collection<String>> |
Splitter.split(CharSequence source,
Supplier<? extends C> supplier) |
<M extends Map<String,String>> |
Splitter.MapSplitter.split(CharSequence source,
Supplier<? extends M> supplier) |
<K,V,M extends Map<K,V>> |
Splitter.MapSplitter.split(Class<K> keyType,
Class<V> valueType,
CharSequence source,
Supplier<? extends M> supplier) |
<T,C extends Collection<T>> |
Splitter.split(Class<T> targetType,
CharSequence source,
Supplier<? extends C> supplier) |
<K,V,M extends Map<K,V>> |
Splitter.MapSplitter.split(com.landawn.abacus.type.Type<K> keyType,
com.landawn.abacus.type.Type<V> valueType,
CharSequence source,
Supplier<? extends M> supplier) |
<T,C extends Collection<T>> |
Splitter.split(com.landawn.abacus.type.Type<T> targetType,
CharSequence source,
Supplier<? extends C> supplier) |
<E extends Throwable> |
If.thenThrow(Supplier<? extends E> exceptionSupplier) |
static <T,E extends Exception> |
Fn.Fnn.throwException(Supplier<? extends E> excpetionSupplier) |
static <T> Consumer<T> |
Fn.throwException(Supplier<? extends RuntimeException> excpetionSupplier) |
static <T,C extends Collection<T>> |
Enumerations.toCollection(Enumeration<? extends T> e,
Supplier<? extends C> supplier) |
<C extends Collection<T>> |
ExceptionalStream.toCollection(Supplier<? extends C> supplier) |
<R,CC extends Collection<T>> |
ExceptionalStream.toCollectionAndThen(Supplier<? extends CC> supplier,
Throwables.Function<? super CC,R,E> func) |
<K,A,D,M extends Map<K,D>> |
ExceptionalStream.toMap(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Collector<? super T,A,D> downstream,
Supplier<? extends M> mapFactory) |
<K,V,A,D,M extends Map<K,D>> |
ExceptionalStream.toMap(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Throwables.Function<? super T,? extends V,? extends E> valueMapper,
Collector<? super V,A,D> downstream,
Supplier<? extends M> mapFactory) |
<K,V,M extends Map<K,V>> |
ExceptionalStream.toMap(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Throwables.Function<? super T,? extends V,? extends E> valueMapper,
Supplier<? extends M> mapFactory) |
<K,V,M extends Map<K,V>> |
ExceptionalStream.toMap(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Throwables.Function<? super T,? extends V,? extends E> valueMapper,
Throwables.BinaryOperator<V,? extends E> mergeFunction,
Supplier<? extends M> mapFactory) |
<K,V extends Collection<T>,M extends Multimap<K,T,V>> |
ExceptionalStream.toMultimap(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Supplier<? extends M> mapFactory) |
<K,V,C extends Collection<V>,M extends Multimap<K,V,C>> |
ExceptionalStream.toMultimap(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Throwables.Function<? super T,? extends V,? extends E> valueMapper,
Supplier<? extends M> mapFactory) |
Multiset<T> |
ExceptionalStream.toMultiset(Supplier<? extends Multiset<T>> supplier) |
static <M extends Map<String,Object>> |
Maps.unflatten(Map<String,Object> map,
String delimiter,
Supplier<? extends M> mapSupplier) |
static <M extends Map<String,Object>> |
Maps.unflatten(Map<String,Object> map,
Supplier<? extends M> mapSupplier) |
static <K,E,V extends Collection<E>> |
ListMultimap.wrap(Map<K,V> map,
Supplier<? extends V> valueSupplier)
Deprecated.
|
static <K,E,V extends Collection<E>> |
Multimap.wrap(Map<K,V> map,
Supplier<? extends V> valueSupplier) |
static <K,E,V extends Collection<E>> |
SetMultimap.wrap(Map<K,V> map,
Supplier<? extends V> valueSupplier)
Deprecated.
|
static <K,E,V extends List<E>> |
ListMultimap.wrapp(Map<K,V> map,
Supplier<? extends V> valueSupplier) |
static <K,E,V extends Set<E>> |
SetMultimap.wrapp(Map<K,V> map,
Supplier<? extends V> valueSupplier) |
| Constructor and Description |
|---|
BiMap(Supplier<? extends Map<K,V>> keyMapSupplier,
Supplier<? extends Map<V,K>> valueMapSupplier) |
BiMap(Supplier<? extends Map<K,V>> keyMapSupplier,
Supplier<? extends Map<V,K>> valueMapSupplier) |
Multiset(Supplier<? extends Map<T,?>> mapSupplier) |
| Modifier and Type | Method and Description |
|---|---|
Supplier<A> |
Collector.supplier() |
| Modifier and Type | Method and Description |
|---|---|
static <T,K,M extends Map<K,Long>> |
Collectors.countingBy(Function<? super T,? extends K> keyMapper,
Supplier<? extends M> mapFactory) |
static <T,K,M extends Map<K,Integer>> |
Collectors.countingIntBy(Function<? super T,? extends K> keyMapper,
Supplier<? extends M> mapFactory) |
static <T,K,A,D,M extends Map<K,D>> |
Collectors.groupingBy(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream,
Supplier<? extends M> mapFactory) |
static <T,K,M extends Map<K,List<T>>> |
Collectors.groupingBy(Function<? super T,? extends K> keyMapper,
Supplier<? extends M> mapFactory) |
static <T,K,A,D,M extends ConcurrentMap<K,D>> |
Collectors.groupingByConcurrent(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream,
Supplier<? extends M> mapFactory) |
static <T,K,M extends ConcurrentMap<K,List<T>>> |
Collectors.groupingByConcurrent(Function<? super T,? extends K> keyMapper,
Supplier<? extends M> mapFactory) |
static <T> Collector<T,?,T> |
Collectors.maxByOrGet(Function<? super T,? extends Comparable> keyMapper,
Supplier<? extends T> other) |
static <T,X extends RuntimeException> |
Collectors.maxByOrThrow(Function<? super T,? extends Comparable> keyMapper,
Supplier<? extends X> exceptionSupplier) |
static <T> Collector<T,?,T> |
Collectors.maxOrGet(Comparator<? super T> comparator,
Supplier<? extends T> other) |
static <T,X extends RuntimeException> |
Collectors.maxOrThrow(Comparator<? super T> comparator,
Supplier<? extends X> exceptionSupplier) |
static <T> Collector<T,?,T> |
Collectors.minByOrGet(Function<? super T,? extends Comparable> keyMapper,
Supplier<? extends T> other) |
static <T,X extends RuntimeException> |
Collectors.minByOrThrow(Function<? super T,? extends Comparable> keyMapper,
Supplier<? extends X> exceptionSupplier) |
static <T> Collector<T,?,T> |
Collectors.minOrGet(Comparator<? super T> comparator,
Supplier<? extends T> other) |
static <T,X extends RuntimeException> |
Collectors.minOrThrow(Comparator<? super T> comparator,
Supplier<? extends X> exceptionSupplier) |
static <T> Collector<T,?,T> |
Collectors.reducingOrGet(BinaryOperator<T> op,
Supplier<? extends T> other) |
static <T,U> Collector<T,?,U> |
Collectors.reducingOrGet(Function<? super T,? extends U> mapper,
BinaryOperator<U> op,
Supplier<? extends U> other) |
static <T,X extends RuntimeException> |
Collectors.reducingOrThrow(BinaryOperator<T> op,
Supplier<? extends X> exceptionSupplier) |
static <T,U,X extends RuntimeException> |
Collectors.reducingOrThrow(Function<? super T,? extends U> mapper,
BinaryOperator<U> op,
Supplier<? extends X> exceptionSupplier) |
static <T,A> Collector<T,?,A[]> |
Collectors.toArray(Supplier<A[]> arraySupplier) |
static <T,K,V> Collector<T,?,BiMap<K,V>> |
Collectors.toBiMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
BinaryOperator<V> mergeFunction,
Supplier<BiMap<K,V>> mapFactory) |
static <T,K,V> Collector<T,?,BiMap<K,V>> |
Collectors.toBiMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
Supplier<BiMap<K,V>> mapFactory) |
static <T,C extends Collection<T>> |
Collectors.toCollection(Supplier<? extends C> collectionFactory) |
static <T,C extends Collection<T>> |
Collectors.toCollection(Supplier<? extends C> collectionFactory,
int atMostSize) |
static <T,K,V,M extends ConcurrentMap<K,V>> |
Collectors.toConcurrentMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
BinaryOperator<V> mergeFunction,
Supplier<? extends M> mapFactory) |
static <T,K,V,M extends ConcurrentMap<K,V>> |
Collectors.toConcurrentMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
Supplier<? extends M> mapFactory) |
static <K,V,M extends Map<K,V>> |
Collectors.toMap(BinaryOperator<V> mergeFunction,
Supplier<? extends M> mapFactory) |
static <T,K,A,D,M extends Map<K,D>> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream,
Supplier<? extends M> mapFactory) |
static <T,K,V,M extends Map<K,V>> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
BinaryOperator<V> mergeFunction,
Supplier<? extends M> mapFactory) |
static <T,K,V,A,D,M extends Map<K,D>> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
Collector<? super V,A,D> downstream,
Supplier<? extends M> mapFactory) |
static <T,K,V,M extends Map<K,V>> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
Supplier<? extends M> mapFactory) |
static <K,V,M extends Map<K,V>> |
Collectors.toMap(Supplier<? extends M> mapFactory) |
static <T,K,V,C extends Collection<V>,M extends Multimap<K,V,C>> |
Collectors.toMultimap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
Supplier<? extends M> mapFactory) |
static <T,K,C extends Collection<T>,M extends Multimap<K,T,C>> |
Collectors.toMultimap(Function<? super T,? extends K> keyMapper,
Supplier<? extends M> mapFactory) |
static <K,V,C extends Collection<V>,M extends Multimap<K,V,C>> |
Collectors.toMultimap(Supplier<? extends M> mapFactory) |
static <T> Collector<T,?,Multiset<T>> |
Collectors.toMultiset(Supplier<Multiset<T>> supplier) |
Copyright © 2021. All rights reserved.