opennlp.maxent
Class TIntParamHashMap

java.lang.Object
  extended by gnu.trove.THash
      extended by gnu.trove.TPrimitiveHash
          extended by gnu.trove.TIntHash
              extended by gnu.trove.TIntDoubleHashMap
                  extended by opennlp.maxent.TIntParamHashMap
All Implemented Interfaces:
gnu.trove.TIntHashingStrategy, java.io.Serializable, java.lang.Cloneable

public class TIntParamHashMap
extends gnu.trove.TIntDoubleHashMap

Data structure for storing a models parameters for each outcome associated with a specific context.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gnu.trove.TIntDoubleHashMap
_values
 
Fields inherited from class gnu.trove.TIntHash
_hashingStrategy, _set
 
Fields inherited from class gnu.trove.TPrimitiveHash
_states, FREE, FULL, REMOVED
 
Fields inherited from class gnu.trove.THash
_free, _loadFactor, _maxSize, _size, DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR
 
Constructor Summary
TIntParamHashMap()
           
TIntParamHashMap(int initialCapacity)
           
TIntParamHashMap(int initialCapacity, float loadFactor)
           
 
Method Summary
 double get(int key)
           
 
Methods inherited from class gnu.trove.TIntDoubleHashMap
adjustValue, clear, clone, containsKey, containsValue, equals, forEachEntry, forEachKey, forEachValue, getValues, hashCode, increment, iterator, keys, put, rehash, remove, removeAt, retainEntries, setUp, transformValues
 
Methods inherited from class gnu.trove.TIntHash
computeHashCode, contains, forEach, index, insertionIndex
 
Methods inherited from class gnu.trove.TPrimitiveHash
capacity
 
Methods inherited from class gnu.trove.THash
compact, ensureCapacity, isEmpty, postInsertHook, size, trimToSize
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TIntParamHashMap

public TIntParamHashMap()

TIntParamHashMap

public TIntParamHashMap(int initialCapacity)

TIntParamHashMap

public TIntParamHashMap(int initialCapacity,
                        float loadFactor)
Method Detail

get

public double get(int key)
Overrides:
get in class gnu.trove.TIntDoubleHashMap


Copyright © 2005 Jason Baldridge, Gann Bierner, and Thomas Morton. All Rights Reserved.