edu.stanford.nlp.util
Class MapFactory

java.lang.Object
  extended byedu.stanford.nlp.util.MapFactory
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MapFactory.HashMapFactory, MapFactory.IdentityHashMapFactory, MapFactory.TreeMapFactory, MapFactory.WeakHashMapFactory

public abstract class MapFactory
extends Object
implements Serializable

Factory for vending Maps.

Author:
Dan Klein (klein@cs.stanford.edu)
See Also:
Serialized Form

Nested Class Summary
static class MapFactory.HashMapFactory
           
static class MapFactory.IdentityHashMapFactory
           
static class MapFactory.TreeMapFactory
           
static class MapFactory.WeakHashMapFactory
           
 
Field Summary
static MapFactory HASH_MAP_FACTORY
           
static MapFactory IDENTITY_HASH_MAP_FACTORY
           
static MapFactory TREE_MAP_FACTORY
           
static MapFactory WEAK_HASH_MAP_FACTORY
           
 
Constructor Summary
MapFactory()
           
 
Method Summary
abstract  Map newMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HASH_MAP_FACTORY

public static final MapFactory HASH_MAP_FACTORY

IDENTITY_HASH_MAP_FACTORY

public static final MapFactory IDENTITY_HASH_MAP_FACTORY

WEAK_HASH_MAP_FACTORY

public static final MapFactory WEAK_HASH_MAP_FACTORY

TREE_MAP_FACTORY

public static final MapFactory TREE_MAP_FACTORY
Constructor Detail

MapFactory

public MapFactory()
Method Detail

newMap

public abstract Map newMap()


Stanford NLP Group