Uses of Class
com.github.tadukoo.util.map.MultiMap
Package
Description
Contains Map-based data structures not present in default Java.
-
Uses of MultiMap in com.github.tadukoo.util.map
Modifier and TypeFieldDescriptionManyToManyMap.keysToValues
The backing keys to valuesMultiMap
ManyToManyMap.valuesToKeys
The backing values to keysMultiMap
Modifier and TypeMethodDescriptionManyToManyMap.keysToValues()
Returns the underlying keysToValuesMultiMap
of this ManyToManyMap.ManyToManyMap.valuesToKeys()
Returns the underlying valuesToKeysMultiMap
of this ManyToManyMap.Modifier and TypeMethodDescriptionstatic boolean
Checks if the given MultiMap is blank (either null or an empty multiMap).static boolean
MultiMapUtil.isNotBlank
(MultiMap<?, ?> map) Checks if the given MultiMap is NOT blank (blank = either null or an empty multiMap).final void
Associates all of the key-value mappings from the given MultiMap into this MultiMap.final void
ManyToManyMap.putAllKeyValMappings
(MultiMap<K, V> map) Associates all of the key-value mappings from the given MultiMap into this ManyToManyMap.final void
ManyToManyMap.putAllValKeyMappings
(MultiMap<V, K> map) Associates all of the value-key mappings from the given MultiMap into this ManyToManyMap.ModifierConstructorDescriptionHashManyToManyMap
(MultiMap<K, V> multiMap) Creates a new HashManyToManyMap where the backing HashMultiMap is constructed with the default initial capacity (16) and the default load factor (0.75).HashMultiMap
(MultiMap<K, V> multiMap) Creates a new HashMultiMap where the backing HashMap is constructed with the default initial capacity (16) and the default load factor (0.75).protected
Sets the backingMultiMap
s for this ManyToManyMap.protected
ManyToManyMap
(MultiMap<K, V> keysToValues, MultiMap<V, K> valuesToKeys, ManyToManyMap<K, V> manyToManyMap) protected
protected
Sets the backingMultiMap
s for this ManyToManyMap and callsManyToManyMap.putAllKeyValMappings(Pair[])
for the given key-value Pairs.protected
TreeManyToManyMap
(MultiMap<K, V> multiMap) Creates a new TreeManyToManyMap where the backingTreeMultiMap
uses the givenComparator
to determine the ordering of its keys.TreeMultiMap
(MultiMap<K, V> multiMap) Creates a new TreeMultiMap where the backingTreeMap
uses the givenComparator
to determine the ordering of its keys.