Uses of Class
com.github.tadukoo.util.tuple.Pair
Package
Description
Contains Map-based data structures not present in default Java.
A collection of tuple classes for general use.
-
Uses of Pair in com.github.tadukoo.util.map
Modifier and TypeMethodDescriptionstatic <K,
V> Map<K, V> Creates a Map (specifically aHashMap
) populated with the given entries.final void
Puts all the given Pairs into this MultiMap.final void
ManyToManyMap.putAllKeyValMappings
(Pair<K, V>... entries) Puts all the given key-value Pairs into this ManyToManyMap.final void
ManyToManyMap.putAllValKeyMappings
(Pair<V, K>... entries) Puts all the given value-key Pairs into this ManyToManyMap.ModifierConstructorDescriptionHashManyToManyMap
(Pair<K, V>... entries) Creates a new HashManyToManyMap where the given Pairs are loaded into the map right away.HashMultiMap
(Pair<K, V>... entries) Creates a new HashMultiMap where the given Pairs are loaded into the map right away.protected
Sets the backingMultiMap
s for this ManyToManyMap and callsManyToManyMap.putAllKeyValMappings(Pair[])
for the given key-value Pairs.Sets the backingMap
for this MultiMap and callsMultiMap.putAll(Pair[])
for the given Pair entries.TreeManyToManyMap
(Pair<K, V>... entries) Creates a new TreeManyToManyMap where the given Pairs are loaded into the map right away.TreeMultiMap
(Pair<K, V>... entries) Creates a new TreeMultiMap where the given Pairs are loaded into the map right away. -
Uses of Pair in com.github.tadukoo.util.tuple