|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractMap | +--java.util.HashMap | +--opennlp.grok.ml.dectree.DTreeFeatureMap
A special map that computes values on the fly basied on FeatureComputers. So you don't have to compute a feature value until it is asked for and therefore save some work.
Constructor Summary | |
DTreeFeatureMap()
|
|
DTreeFeatureMap(java.util.Collection c)
|
Method Summary | |
void |
addFeatureComputer(DTreeFeatureComputer comp)
|
java.lang.Object |
get(java.lang.Object o)
|
void |
setData(java.lang.Object[] d)
|
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Constructor Detail |
public DTreeFeatureMap(java.util.Collection c)
public DTreeFeatureMap()
Method Detail |
public void addFeatureComputer(DTreeFeatureComputer comp)
public void setData(java.lang.Object[] d)
public java.lang.Object get(java.lang.Object o)
get
in interface java.util.Map
get
in class java.util.HashMap
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |