|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fu_berlin.ties.classify.feature.FeatureVector
de.fu_berlin.ties.classify.feature.FeatureSet
This feature vector implementation stores a multi-set of features.
The order of features is not preserved. Internally it uses a
HashBag
as storage.
Instances of this class are not thread-safe and must be synchronized externally, if required.
Constructor Summary | |
FeatureSet()
Creates a new instance. |
Method Summary | |
Iterator |
iterator()
Returns an iterator over the Feature s stored in this vector. |
int |
size()
Returns the number of features stored in this vector. |
protected Collection |
store()
Returns the collection used for storing the features. The properties of a feature vector depend on the kind of collection that is used. |
Methods inherited from class de.fu_berlin.ties.classify.feature.FeatureVector |
add, addAll, addAll, addAllTokens, flatten, flatten, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FeatureSet()
Method Detail |
public Iterator iterator()
Feature
s stored in this vector.
iterator
in class FeatureVector
public int size()
size
in class FeatureVector
protected Collection store()
store
in class FeatureVector
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |