Uses of Class
com.landawn.abacus.util.Multimap
Packages that use Multimap
-
Uses of Multimap in com.landawn.abacus.util
Classes in com.landawn.abacus.util with type parameters of type MultimapModifier and TypeClassDescriptionstatic final class
Builder.MultimapBuilder<K,
E, V extends Collection<E>, M extends Multimap<K, E, V>> The Class MultimapBuilder.Subclasses of Multimap in com.landawn.abacus.utilMethods in com.landawn.abacus.util with type parameters of type MultimapModifier and TypeMethodDescription<VV extends Collection<K>,
M extends Multimap<E, K, VV>>
MMultimap.inverse
(IntFunction<? extends M> multimapSupplier) static final <K,
E, V extends Collection<E>, M extends Multimap<K, E, V>>
Builder.MultimapBuilder<K,E, V, M> Builder.of
(M val) <K,
V, C extends Collection<V>, M extends Multimap<K, V, C>, E2 extends Exception, E3 extends Exception>
MCheckedStream.toMultimap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Supplier<? extends M> mapFactory) <K,
V extends Collection<T>, M extends Multimap<K, T, V>, E2 extends Exception>
MCheckedStream.toMultimap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Supplier<? extends M> mapFactory) <K,
E, V extends Collection<E>, M extends Multimap<K, E, V>>
MDataSet.toMultimap
(int fromRowIndex, int toRowIndex, String keyColumnName, String valueColumnName, IntFunction<? extends M> supplier) <K,
E, V extends Collection<E>, M extends Multimap<K, E, V>>
MDataSet.toMultimap
(int fromRowIndex, int toRowIndex, String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends E> rowSupplier, IntFunction<? extends M> supplier) <K,
E, V extends Collection<E>, M extends Multimap<K, E, V>>
MDataSet.toMultimap
(Class<? extends E> rowClass, int fromRowIndex, int toRowIndex, String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends M> supplier) <K,
E, V extends Collection<E>, M extends Multimap<K, E, V>>
MDataSet.toMultimap
(Class<? extends E> rowClass, String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends M> supplier) <K,
E, V extends Collection<E>, M extends Multimap<K, E, V>>
MDataSet.toMultimap
(String keyColumnName, String valueColumnName, IntFunction<? extends M> supplier) <K,
E, V extends Collection<E>, M extends Multimap<K, E, V>>
MDataSet.toMultimap
(String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends E> rowSupplier, IntFunction<? extends M> supplier) <K,
E, V extends Collection<E>, M extends Multimap<K, E, V>>
MRowDataSet.toMultimap
(int fromRowIndex, int toRowIndex, String keyColumnName, String valueColumnName, IntFunction<? extends M> supplier) <K,
E, V extends Collection<E>, M extends Multimap<K, E, V>>
MRowDataSet.toMultimap
(int fromRowIndex, int toRowIndex, String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends E> rowSupplier, IntFunction<? extends M> supplier) <K,
E, V extends Collection<E>, M extends Multimap<K, E, V>>
MRowDataSet.toMultimap
(Class<? extends E> rowClass, int fromRowIndex, int toRowIndex, String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends M> supplier) <K,
E, V extends Collection<E>, M extends Multimap<K, E, V>>
MRowDataSet.toMultimap
(Class<? extends E> rowClass, String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends M> supplier) <K,
E, V extends Collection<E>, M extends Multimap<K, E, V>>
MRowDataSet.toMultimap
(String keyColumnName, String valueColumnName, IntFunction<? extends M> supplier) <K,
E, V extends Collection<E>, M extends Multimap<K, E, V>>
MRowDataSet.toMultimap
(String keyColumnName, Collection<String> valueColumnNames, IntFunction<? extends E> rowSupplier, IntFunction<? extends M> supplier) Methods in com.landawn.abacus.util that return MultimapModifier and TypeMethodDescriptionMultimap.copy()
Multimap.filter
(Throwables.BiPredicate<? super K, ? super V, X> filter) Multimap.filterByKey
(Throwables.Predicate<? super K, X> filter) Filter by key.Multimap.filterByValue
(Throwables.Predicate<? super V, X> filter) Filter by value.Methods in com.landawn.abacus.util that return types with arguments of type MultimapModifier and TypeMethodDescriptionstatic <K,
E, V extends Collection<E>>
Supplier<Multimap<K,E, V>> Fn.Suppliers.ofMultimap
(Supplier<? extends Map<K, V>> mapSupplier, Supplier<? extends V> valueSupplier) Methods in com.landawn.abacus.util with parameters of type MultimapModifier and TypeMethodDescriptionstatic If
Checks if is null or empty.static If
Not null or empty.boolean
Removes the all.boolean
Removes the all.Method parameters in com.landawn.abacus.util with type arguments of type MultimapModifier and TypeMethodDescription<X extends Exception>
voidMultimap.acceptIfNotEmpty
(Throwables.Consumer<? super Multimap<K, E, V>, X> action) Accept if not empty.<R,
X extends Exception>
R<R,
X extends Exception>
u.Optional<R>Multimap.applyIfNotEmpty
(Throwables.Function<? super Multimap<K, E, V>, R, X> func) -
Uses of Multimap in com.landawn.abacus.util.stream
Methods in com.landawn.abacus.util.stream with type parameters of type MultimapModifier and TypeMethodDescriptionstatic <T,
K, V, C extends Collection<V>, M extends Multimap<K, V, C>>
Collector<T,?, M> Collectors.flatMapingKeyToMultimap
(Function<? super T, Stream<? extends K>> flatKeyMapper, Function<? super T, V> valueMapper, Supplier<? extends M> mapFactory) static <T,
K, V, C extends Collection<V>, M extends Multimap<K, V, C>>
Collector<T,?, M> Collectors.flatMapingValueToMultimap
(Function<? super T, K> keyMapper, Function<? super T, ? extends Stream<? extends V>> flatValueMapper, Supplier<? extends M> mapFactory) static <T,
K, V, C extends Collection<V>, M extends Multimap<K, V, C>>
Collector<T,?, M> Collectors.flatmappingKeyToMultimap
(Function<? super T, ? extends Collection<? extends K>> flatKeyMapper, Function<? super T, V> valueMapper, Supplier<? extends M> mapFactory) static <T,
K, V, C extends Collection<V>, M extends Multimap<K, V, C>>
Collector<T,?, M> Collectors.flatmappingValueToMultimap
(Function<? super T, K> keyMapper, Function<? super T, ? extends Collection<? extends V>> flatValueMapper, Supplier<? extends M> mapFactory) static <T,
K, V, C extends Collection<V>, M extends Multimap<K, V, C>>
Collector<T,?, M> Collectors.flattMapingKeyToMultimap
(Function<? super T, Stream<? extends K>> flatKeyMapper, Function<? super T, V> valueMapper, Supplier<? extends M> mapFactory) static <T,
K, V, C extends Collection<V>, M extends Multimap<K, V, C>>
Collector<T,?, M> Collectors.flattMapingValueToMultimap
(Function<? super T, K> keyMapper, Function<? super T, ? extends Stream<? extends V>> flatValueMapper, Supplier<? extends M> mapFactory) static <T,
K, V, C extends Collection<V>, M extends Multimap<K, V, C>>
Collector<T,?, M> 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>>
Collector<T,?, M> 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>>
Collector<Map.Entry<K,V>, ?, M> Collectors.toMultimap
(Supplier<? extends M> mapFactory) <C extends Collection<V>,
M extends Multimap<K, V, C>>
MEntryStream.toMultimap
(Supplier<? extends M> mapFactory) abstract <K,
V, C extends Collection<V>, M extends Multimap<K, V, C>, E extends Exception, E2 extends Exception>
MStream.toMultimap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) abstract <K,
V extends Collection<T>, M extends Multimap<K, T, V>, E extends Exception>
MStream.toMultimap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Supplier<? extends M> mapFactory) Methods in com.landawn.abacus.util.stream with parameters of type Multimap