Uses of Interface
net.cscott.jutil.MultiMap
-
Uses of MultiMap in net.cscott.jutil
Subinterfaces of MultiMap in net.cscott.jutilModifier and TypeInterfaceDescriptioninterfaceInvertibleMultiMap<K,V> AnInvertibleMultiMapis an extension of theMultiMapinterface to allow users to do reverse lookups on the mappings maintained.Classes in net.cscott.jutil that implement MultiMapModifier and TypeClassDescriptionclassAbstractMultiMap<K,V> This class provides a skeletal implementation of theMultiMapinterface, to minimize the effort requires to implement this interface.classGenericInvertibleMultiMapis a default implementation ofInvertibleMultiMap.classGenericMultiMap<K,V> GenericMultiMapis a default implementation of aMultiMap.classUnmodifiableMultiMap<K,V> UnmodifiableMultiMapis an abstract superclass to save developers the trouble of implementing the various mutator methds of theMultiMapinterface.Fields in net.cscott.jutil declared as MultiMapMethods in net.cscott.jutil that return MultiMapModifier and TypeMethodDescriptionMultiMapSet.asMap()MultiMapSet.asMultiMap()static final <K,V> MultiMap <K, V> Default.EMPTY_MULTIMAP()An empty multi-map, parameterized to play nicely with Java's type system.GenericInvertibleMap.invert()Returns an unmodifiable inverted view ofthis.InvertibleMap.invert()Returns a inverted view ofthis.MultiMapFactory.makeMap()MultiMapFactory.makeMultiMap()Create a new, empty,MultiMap.MultiMapFactory.makeMultiMap(MultiMap<? extends K, ? extends V> map) PersistentMultiMapFactory.makeMultiMap()Generates a new unsynchronized mutableMultiMapwhich is based on persistent randomized treaps.static <K,V> MultiMap <K, V> Constructs and returns an unmodifiableMultiMapbacked bymmap.UnmodifiableMultiMap.wrapped()Methods in net.cscott.jutil with parameters of type MultiMapModifier and TypeMethodDescriptionbooleanAdd all mappings in the given multimap to this multimap.booleanbooleanAdds all mappings in the given multimap to this multimap.booleanThrowsUnsupportedOperationException.MultiMapFactory.makeMultiMap(MultiMap<? extends K, ? extends V> map) static <K,V> MultiMap <K, V> Constructs and returns an unmodifiableMultiMapbacked bymmap.Constructors in net.cscott.jutil with parameters of type MultiMapModifierConstructorDescriptionGenericInvertibleMultiMap(MultiMap<? extends K, ? extends V> mm) GenericMultiMap(MultiMap<? extends K, ? extends V> mm) Creates aGenericMultiMapwith the mappings ofmm, using aHashMapfor the map andHashSets for the value collections.
Default.EMPTY_MULTIMAP(), which is parameterized.