public interface FeatureRules
| Modifier and Type | Method and Description |
|---|---|
FeatureRule |
add(FeatureRule rule)
Adds a new rule to this FeatureRules.
|
void |
clear()
Clears this FeatureRules from any rules.
|
Object |
get(int index)
Returns an object given its index.
|
FeatureRules |
getCopy()
Returns a new copy of this FeatureRules.
|
FeatureRule |
getRule(int index)
Returns a
FeatureRule given its index. |
Iterator |
iterator()
Returns an iterator over the available
FeatureRule(s) |
boolean |
remove(FeatureRule rule)
Removes the given rule from this FeatureRules.
|
Object |
remove(int index)
Removes the rule stored in the given index.
|
int |
size()
Returns the number of rules contained in this FeatureRules.
|
Object get(int index)
index - a position in this FeatureRulesFeatureRule getRule(int index)
FeatureRule given its index.index - a position in this FeatureRulesFeatureRule found in the given indexFeatureRule add(FeatureRule rule)
rule - the new rule to add.int size()
void clear()
Object remove(int index)
index - index of the rule to remove.boolean remove(FeatureRule rule)
rule - FeatureRule to removeIterator iterator()
FeatureRule(s)FeatureRule(s)FeatureRules getCopy()