public class Features extends Object
Modifier and Type | Field and Description |
---|---|
static Features |
emptyFeatures |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String feature)
Check to see if a feature is present.
|
boolean |
equals(Object other) |
Set<String> |
featureNames() |
int |
hashCode() |
boolean |
isFeature(String feature)
Checks the value of the specified feature.
|
void |
put(String name,
boolean value) |
void |
remove(String feature) |
String |
toString() |
Features |
unmodifiableFeatures() |
public static final Features emptyFeatures
public Features()
public Features(Features features)
public void put(String name, boolean value)
public boolean contains(String feature)
feature
- The featuer name to check.public void remove(String feature)
public boolean isFeature(String feature)
contains(String)
in addition to this method.feature
- The feature to checkpublic Features unmodifiableFeatures()
Copyright © 2011-2015 IBM. All Rights Reserved.