public class Functions extends Object
| 构造器和说明 |
|---|
Functions() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V> Supplier<K,List<V>> |
emptyArrayListSupplier()
Supplier
|
static <I,E> Supplier<I,HashSet<E>> |
emptyHashSetSupplier() |
static <E> Supplier0<HashSet<E>> |
emptyHashSetSupplier0() |
static <I,E> Supplier<I,LinkedHashSet<E>> |
emptyLinkedHashSetSupplier() |
static <K,V> Supplier<K,List<V>> |
emptyLinkedListSupplier() |
static <I,V> Supplier<I,Set<V>> |
emptyTreeSetSupplier(Comparator<V> comparator) |
static <E> Supplier0<TreeSet<E>> |
emptyTreeSetSupplier0(Comparator<E> comparator) |
static <T> Predicate<T> |
nonNullPredicate()
Predicate
|
static <T> Predicate<T> |
nullPredicate() |
static <E> Mapper<E,String> |
toStringFunction()
Function, Mapper
|
public static <T> Predicate<T> nonNullPredicate()
public static <T> Predicate<T> nullPredicate()
public static <I,E> Supplier<I,LinkedHashSet<E>> emptyLinkedHashSetSupplier()
public static <E> Supplier0<TreeSet<E>> emptyTreeSetSupplier0(Comparator<E> comparator)
public static <I,V> Supplier<I,Set<V>> emptyTreeSetSupplier(Comparator<V> comparator)
Copyright © 2019. All rights reserved.