|
JUtil | ||||||||
PREV NEXT | FRAMES NO FRAMES |
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 Map s 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 Map s created by it maximally reuse space. |
class |
PersistentMultiMapFactory<K,V>
A PersistentMultiMapFactory uses hash-consing to ensure that
the MultiMap s created by it maximally reuse space. |
Fields in net.cscott.jutil declared as MapFactory | |
---|---|
static MapFactory |
Factories.hashMapFactory
A MapFactory that generates HashMap s. |
static MapFactory |
Factories.linkedHashMapFactory
A MapFactory that generates LinkedHashMap s. |
Methods in net.cscott.jutil that return MapFactory | ||
---|---|---|
static
|
Factories.enumMapFactory(Class<K> enumClass)
A MapFactory that generates EnumMap s. |
|
static
|
Factories.hashMapFactory()
|
|
static
|
Factories.linkedHashMapFactory()
|
|
static
|
Factories.synchronizedMapFactory(MapFactory<K,V> mf)
Returns a MapFactory that generates synchronized
(thread-safe) Map s. |
Methods in net.cscott.jutil with parameters of type MapFactory | ||
---|---|---|
static
|
Factories.mapSetFactory(MapFactory<K,V> mf)
Returns a SetFactory that generates MapSet
views of maps generated by the given MapFactory . |
|
static
|
Factories.synchronizedMapFactory(MapFactory<K,V> mf)
Returns a MapFactory that generates synchronized
(thread-safe) Map s. |
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 | ||||||||
PREV NEXT | FRAMES NO FRAMES |