|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.columbia.cs.ref.model.FeaturableObject
public class FeaturableObject
The Class FeaturableObject represents objects that can be enriched
with features.
Essentially, this class provides methods to store and retrieve features
of a given type on an object.
Constructor Summary | |
---|---|
FeaturableObject()
Instantiates a new featurable object. |
Method Summary | ||
---|---|---|
|
getFeatures(FeatureGenerator<E> featureGenerator)
Retrieves the features that were produced by a given feature generator. |
|
|
setFeatures(FeatureGenerator<E> featureGenerator,
E fs)
Stores the features that were produced by a given feature generator. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeaturableObject()
Method Detail |
---|
public <E extends FeatureSet> E getFeatures(FeatureGenerator<E> featureGenerator)
E
- the type of feature to be retrievedfeatureGenerator
- the feature generator that produced the feature to be retrieved
public <E extends FeatureSet> void setFeatures(FeatureGenerator<E> featureGenerator, E fs)
E
- the type of feature to be storedfeatureGenerator
- the feature generator that produced the feature to be storedfs
- the feature to be stored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |