Uses of Class
com.landawn.abacus.util.LongMultiset
-
Uses of LongMultiset in com.landawn.abacus.util
Modifier and TypeMethodDescriptionLongMultiset.copy()
static <T> LongMultiset<T>
static <T> LongMultiset<T>
LongMultiset.create
(Collection<? extends T> coll) static <T> LongMultiset<T>
static <T,
V> LongMultiset<T> LongMultiset.create
(Map<? extends T, ? extends V> m, ToLongFunction<? super V> valueMapper) static <T> LongMultiset<T>
<E extends Exception>
LongMultiset<T>LongMultiset.filter
(Throwables.BiPredicate<? super T, Long, E> filter) <E extends Exception>
LongMultiset<T>LongMultiset.filter
(Throwables.Predicate<? super T, E> filter) static <T> LongMultiset<T>
LongMultiset.of
(T... a) The element will be removed if the specified count is 0.LongMultiset.setAll
(LongMultiset<? extends T> multiset) Sets the all.LongMultiset.setAll
(Collection<? extends T> c, long occurrences) Sets the all.Sets the all.CheckedStream.toLongMultiset()
CheckedStream.toLongMultiset
(Supplier<? extends LongMultiset<T>> supplier) Modifier and TypeMethodDescriptionstatic <T> Class<LongMultiset<T>>
Clazz.ofLongMultiset()
Of long multiset.static <T> Class<LongMultiset<T>>
Clazz.ofLongMultiset
(Class<T> eleCls) Of long multiset.static <T> IntFunction<LongMultiset<T>>
Fn.Factory.ofLongMultiset()
Of long multiset.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) Modifier and TypeMethodDescriptionBuilder.LongMultisetBuilder.addAll
(LongMultiset<? extends T> multiset) Adds the all.boolean
LongMultiset.addAll
(LongMultiset<? extends T> multiset) Adds the all.static If
If.isEmpty
(LongMultiset<?> s) Checks if is null or empty.static If
If.notEmpty
(LongMultiset<?> s) Not null or empty.static final <T> Builder.LongMultisetBuilder<T>
Builder.of
(LongMultiset<T> val) Builder.LongMultisetBuilder.removeAll
(LongMultiset<? extends T> multiset) Removes the all.boolean
LongMultiset.removeAll
(LongMultiset<?> multiset) Removes the all.LongMultiset.setAll
(LongMultiset<? extends T> multiset) Sets the all.Modifier and TypeMethodDescription<E extends Exception>
voidLongMultiset.accept
(Throwables.Consumer<? super LongMultiset<T>, E> action) LongMultiset.acceptIfNotEmpty
(Throwables.Consumer<? super LongMultiset<T>, E> action) Accept if not empty.<R,
E extends Exception>
RLongMultiset.apply
(Throwables.Function<? super LongMultiset<T>, ? extends R, E> func) <R,
E extends Exception>
u.Optional<R>LongMultiset.applyIfNotEmpty
(Throwables.Function<? super LongMultiset<T>, ? extends R, E> func) Apply if not empty.CheckedStream.toLongMultiset
(Supplier<? extends LongMultiset<T>> supplier) -
Uses of LongMultiset in com.landawn.abacus.util.stream
Modifier and TypeMethodDescriptionBaseStream.toLongMultiset()
BaseStream.toLongMultiset
(Supplier<? extends LongMultiset<T>> supplier) EntryStream.toLongMultiset()
EntryStream.toLongMultiset
(Supplier<? extends LongMultiset<Map.Entry<K, V>>> supplier) Modifier and TypeMethodDescriptionstatic <T> Collector<T,
?, LongMultiset<T>> Collectors.toLongMultiset()
static <T> Collector<T,
?, LongMultiset<T>> Collectors.toLongMultiset
(Supplier<LongMultiset<T>> supplier) Modifier and TypeMethodDescriptionstatic <E> EntryStream<E,
Long> EntryStream.of
(LongMultiset<E> multiset) Modifier and TypeMethodDescriptionBaseStream.toLongMultiset
(Supplier<? extends LongMultiset<T>> supplier) static <T> Collector<T,
?, LongMultiset<T>> Collectors.toLongMultiset
(Supplier<LongMultiset<T>> supplier) EntryStream.toLongMultiset
(Supplier<? extends LongMultiset<Map.Entry<K, V>>> supplier)