Uses of Class
com.github.tadukoo.util.tuple.Pair
Packages that use 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
Methods in com.github.tadukoo.util.map with parameters of type PairModifier and TypeMethodDescriptionstatic <K,V> Map<K, V> Creates a Map (specifically aHashMap) populated with the given entries.final voidPuts all the given Pairs into this MultiMap.final voidManyToManyMap.putAllKeyValMappings(Pair<K, V>... entries) Puts all the given key-value Pairs into this ManyToManyMap.final voidManyToManyMap.putAllValKeyMappings(Pair<V, K>... entries) Puts all the given value-key Pairs into this ManyToManyMap.Constructors in com.github.tadukoo.util.map with parameters of type PairModifierConstructorDescriptionHashManyToManyMap(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.protectedSets the backingMultiMaps for this ManyToManyMap and callsManyToManyMap.putAllKeyValMappings(Pair[])for the given key-value Pairs.Sets the backingMapfor 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
Methods in com.github.tadukoo.util.tuple that return Pair