Uses of Interface
com.landawn.abacus.util.function.Supplier
-
Uses of Supplier in com.landawn.abacus.util
Modifier and TypeMethodDescriptionstatic <T> Supplier<T>
static <T> Supplier<T>
Returns aSupplier
which returns a single instance created by calling the specifiedsupplier.get()
.Fn.Suppliers.newException()
static Supplier<NoSuchElementException>
Fn.Suppliers.newNoSuchElementException()
static Supplier<RuntimeException>
Fn.Suppliers.newRuntimException()
static <T> Supplier<ArrayBlockingQueue<T>>
Fn.Suppliers.ofArrayBlockingQueue()
static <T> Supplier<ArrayDeque<T>>
Fn.Suppliers.ofArrayDeque()
Of array deque.Fn.Suppliers.ofBiMap()
static Supplier<BooleanList>
Fn.Suppliers.ofBooleanList()
Of boolean list.Fn.Suppliers.ofByteList()
Of byte list.Fn.Suppliers.ofCharList()
Of char list.static <K,
V> Supplier<ConcurrentHashMap<K, V>> Fn.Suppliers.ofConcurrentHashMap()
Fn.Suppliers.ofConcurrentHashSet()
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.Fn.Suppliers.ofDeque()
static Supplier<DoubleList>
Fn.Suppliers.ofDoubleList()
Of double list.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.Fn.Suppliers.ofEmptyObjectArray()
Of empty object array.static Supplier<short[]>
Fn.Suppliers.ofEmptyShortArray()
Of empty short array.Fn.Suppliers.ofEmptyString()
Of empty String.Fn.Suppliers.ofEmptyStringArray()
Of empty string array.Fn.Suppliers.ofFloatList()
Of float list.Fn.Suppliers.ofGUID()
static <K,
V> Supplier<IdentityHashMap<K, V>> Fn.Suppliers.ofIdentityHashMap()
Of identity hash map.static Supplier<ImmutableList<?>>
Fn.Suppliers.ofImmutableList()
Deprecated.unsupported operation.static Supplier<ImmutableMap<?,
?>> Fn.Suppliers.ofImmutableMap()
Deprecated.unsupported operation.static Supplier<ImmutableSet<?>>
Fn.Suppliers.ofImmutableSet()
Deprecated.unsupported operation.static <T> Supplier<T>
Fn.Suppliers.ofInstance
(T instance) Returns a supplier that always suppliesinstance
.Fn.Suppliers.ofIntList()
Of int list.static <T> Supplier<LinkedBlockingDeque<T>>
Fn.Suppliers.ofLinkedBlockingDeque()
static <T> Supplier<LinkedBlockingQueue<T>>
Fn.Suppliers.ofLinkedBlockingQueue()
Of linked blocking queue.Fn.Suppliers.ofLinkedHashMap()
Of linked hash map.Fn.Suppliers.ofLinkedHashSet()
Of linked hash set.static <T> Supplier<LinkedList<T>>
Fn.Suppliers.ofLinkedList()
Of linked list.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) Fn.Suppliers.ofLongList()
Of long list.static <T> Supplier<LongMultiset<T>>
Fn.Suppliers.ofLongMultiset()
static <T> Supplier<LongMultiset<T>>
Fn.Suppliers.ofLongMultiset
(Class<? extends Map> valueMapType) static <T> Supplier<LongMultiset<T>>
Fn.Suppliers.ofLongMultiset
(Supplier<? extends Map<T, ?>> mapSupplier) Fn.Suppliers.ofMap()
static <K,
E, V extends Collection<E>>
Supplier<Multimap<K,E, V>> Fn.Suppliers.ofMultimap
(Supplier<? extends Map<K, V>> mapSupplier, Supplier<? extends V> valueSupplier) Fn.Suppliers.ofMultiset()
Fn.Suppliers.ofMultiset
(Class<? extends Map> valueMapType) 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.Fn.Suppliers.ofQueue()
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) Fn.Suppliers.ofShortList()
Of short list.Fn.Suppliers.ofSortedMap()
Of sorted map.Fn.Suppliers.ofSortedSet()
Of sorted set.static Supplier<StringBuilder>
Fn.Suppliers.ofStringBuilder()
Of string builder.Fn.Suppliers.ofTreeMap()
Of tree map.Fn.Suppliers.ofTreeSet()
Of tree set.Fn.Suppliers.ofUUID()
static <T,
C extends Collection<T>>
Supplier<? extends C>Deprecated.static <T,
C extends Collection<T>>
Supplier<? extends C>Deprecated.Throwables.Supplier.unchecked()