etomica.compatibility
Class FeatureSet
java.lang.Object
etomica.compatibility.FeatureSet
- All Implemented Interfaces:
- Serializable
public final class FeatureSet
- extends Object
- implements Serializable
Container for a class features. EtomicaInfo has a method getFeatures() that returns a FeatureSet.
Generic algorithms may use the Requirements object interface to test an object's feature for compatibility.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
list
protected HashMap list
FeatureSet
public FeatureSet()
add
public FeatureSet add(Feature feat)
add
public FeatureSet add(String name,
String value)
add
public FeatureSet add(String name,
double value)
get
public Feature get(String name)
satisfies
public final boolean satisfies(Requirement reqs)