edu.berkeley.nlp.lm.collections
Class AbstractTMap<T extends Comparable>
java.lang.Object
edu.berkeley.nlp.lm.collections.AbstractTMap<T>
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- TIntMap
public abstract class AbstractTMap<T extends Comparable>
- extends Object
- implements Serializable
Contains some limited shared functionality between Custom[type]Maps
- Author:
- Adam Pauls, Percy Liang
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
growFactor
protected static final int growFactor
- See Also:
- Constant Field Values
defaultExpectedSize
protected static final int defaultExpectedSize
- See Also:
- Constant Field Values
loadFactor
protected static final double loadFactor
- See Also:
- Constant Field Values
mapType
protected AbstractTMap.MapType mapType
locked
protected boolean locked
num
protected int num
keys
protected T extends Comparable[] keys
keyFunc
protected AbstractTMap.Functionality<T extends Comparable> keyFunc
numCollisions
protected int numCollisions
AbstractTMap
public AbstractTMap()
defaultFunctionality
public static <T extends Comparable> AbstractTMap.Functionality<T> defaultFunctionality()