Package | Description |
---|---|
sirius.kernel.commons |
Provides common classes used by large parts of the framework.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> MultiMap<K,V> |
MultiMap.create()
Creates a new MultiMap for the specified types which is not thread safe.
|
static <K,V> MultiMap<K,V> |
MultiMap.createOrdered()
Creates a new MultiMap for the specified types which is not thread safe but keeps its insertion order.
|
static <K,V> MultiMap<K,V> |
MultiMap.createSynchronized()
Creates a new MultiMap for the specified types which is thread safe.
|
MultiMap<K,V> |
MultiMap.merge(MultiMap<K,V> other)
Merges the given multi map into this one.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> Collector<V,MultiMap<K,V>,MultiMap<K,V>> |
MultiMap.groupingBy(Supplier<MultiMap<K,V>> supplier,
Function<V,K> classifier)
Creates a
Collector which can be used to group a stream into a multi map. |
static <K,V> Collector<V,MultiMap<K,V>,MultiMap<K,V>> |
MultiMap.groupingBy(Supplier<MultiMap<K,V>> supplier,
Function<V,K> classifier)
Creates a
Collector which can be used to group a stream into a multi map. |
static <K,V> Collector<V,MultiMap<K,V>,MultiMap<K,V>> |
MultiMap.groupingByMultiple(Supplier<MultiMap<K,V>> supplier,
Function<V,Collection<K>> classifier)
Creates a
Collector which can be used to group a stream into a multi map. |
static <K,V> Collector<V,MultiMap<K,V>,MultiMap<K,V>> |
MultiMap.groupingByMultiple(Supplier<MultiMap<K,V>> supplier,
Function<V,Collection<K>> classifier)
Creates a
Collector which can be used to group a stream into a multi map. |
static <K,V> Collector<Tuple<K,V>,MultiMap<K,V>,MultiMap<K,V>> |
Tuple.toMultiMap(Supplier<MultiMap<K,V>> supplier)
|
static <K,V> Collector<Tuple<K,V>,MultiMap<K,V>,MultiMap<K,V>> |
Tuple.toMultiMap(Supplier<MultiMap<K,V>> supplier)
|
Modifier and Type | Method and Description |
---|---|
MultiMap<K,V> |
MultiMap.merge(MultiMap<K,V> other)
Merges the given multi map into this one.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> Collector<V,MultiMap<K,V>,MultiMap<K,V>> |
MultiMap.groupingBy(Supplier<MultiMap<K,V>> supplier,
Function<V,K> classifier)
Creates a
Collector which can be used to group a stream into a multi map. |
static <K,V> Collector<V,MultiMap<K,V>,MultiMap<K,V>> |
MultiMap.groupingByMultiple(Supplier<MultiMap<K,V>> supplier,
Function<V,Collection<K>> classifier)
Creates a
Collector which can be used to group a stream into a multi map. |
static <K,V> Collector<Tuple<K,V>,MultiMap<K,V>,MultiMap<K,V>> |
Tuple.toMultiMap(Supplier<MultiMap<K,V>> supplier)
|
Copyright © 2018. All rights reserved.