|
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 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
|
Factories.enumMapFactory(Class<K> enumClass)
A MapFactory that generates EnumMaps. |
|
static
|
Factories.hashMapFactory()
|
|
static
|
Factories.linkedHashMapFactory()
|
|
static
|
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
|
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) 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 | ||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||