JUtil

Uses of Class
net.cscott.jutil.MapFactory

Uses of MapFactory in net.cscott.jutil
 

Subclasses of MapFactory in net.cscott.jutil
 class AggregateMapFactory<K,V>
          AggregateMapFactory uses a single HashMap as backing store for the many smaller Maps created by this MapFactory.
 class GenericMultiMapFactory<K,V>
          GenericMultiMapFactory implements MultiMapFactory using instances of GenericMultiMap.
 class MultiMapFactory<K,V>
          MultiMapFactory is a MultiMap generator.
 class PersistentMapFactory<K,V>
          A PersistentMapFactory uses hash-consing to ensure that the Maps created by it maximally reuse space.
 class PersistentMultiMapFactory<K,V>
          A PersistentMultiMapFactory uses hash-consing to ensure that the MultiMaps created by it maximally reuse space.
 

Fields in net.cscott.jutil declared as MapFactory
static MapFactory Factories.hashMapFactory
          A MapFactory that generates HashMaps.
static MapFactory Factories.linkedHashMapFactory
          A MapFactory that generates LinkedHashMaps.
 

Methods in net.cscott.jutil that return MapFactory
static
<K extends Enum<K>,V>
MapFactory<K,V>
Factories.enumMapFactory(Class<K> enumClass)
          A MapFactory that generates EnumMaps.
static
<K,V> MapFactory<K,V>
Factories.hashMapFactory()
           
static
<K,V> MapFactory<K,V>
Factories.linkedHashMapFactory()
           
static
<K,V> MapFactory<K,V>
Factories.synchronizedMapFactory(MapFactory<K,V> mf)
          Returns a MapFactory that generates synchronized (thread-safe) Maps.
 

Methods in net.cscott.jutil with parameters of type MapFactory
static
<K,V> SetFactory<Map.Entry<K,V>>
Factories.mapSetFactory(MapFactory<K,V> mf)
          Returns a SetFactory that generates MapSet views of maps generated by the given MapFactory.
static
<K,V> MapFactory<K,V>
Factories.synchronizedMapFactory(MapFactory<K,V> mf)
          Returns a MapFactory that generates synchronized (thread-safe) Maps.
 

Constructors in net.cscott.jutil with parameters of type MapFactory
GenericInvertibleMap(MapFactory<K,V> mf, MultiMapFactory<V,K> mmf)
          Constructs an invertible map backed by a map constructed by mf and an inverted map constructed by mmf.
GenericInvertibleMultiMap(MapFactory mf, CollectionFactory cf)
           
GenericMultiMap(MapFactory<K,Collection<V>> mf, CollectionFactory<V> cf)
          Creates a MultiMap using the specified MapFactory to create the map and the specified CollectionFactory to create the value collections.
GenericMultiMapFactory(MapFactory<K,Collection<V>> mf, CollectionFactory<V> cf)
          Create a new GenericMultiMapFactory, specifying the MapFactory and CollectionFactory to be used by the underlying GenericMultiMap.
 


JUtil

Copyright (c) 2006 C. Scott Ananian