public class DefaultFeatureRules extends ArrayList<FeatureRule> implements FeatureRules
modCount| Constructor and Description |
|---|
DefaultFeatureRules() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(FeatureRule rule)
Adds a new rule to this FeatureRules.
|
FeatureRules |
getCopy()
Returns a new copy of this FeatureRules.
|
FeatureRule |
getRule(int index)
Returns a
FeatureRule given its index. |
boolean |
remove(FeatureRule rule)
Removes the given rule from this FeatureRules.
|
void |
validate(Feature feature)
Deprecated.
use validate(Feature feature, int mode)
|
void |
validate(Feature feature,
int mode) |
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, get, iterator, remove, sizeforEach, spliteratorcontainsAll, equals, hashCodeparallelStream, streampublic boolean add(FeatureRule rule)
FeatureRulesadd in interface Collection<FeatureRule>add in interface List<FeatureRule>add in interface FeatureRulesadd in class ArrayList<FeatureRule>rule - the new rule to add.public FeatureRule getRule(int index)
FeatureRulesFeatureRule given its index.getRule in interface FeatureRulesindex - a position in this FeatureRulesFeatureRule found in the given indexpublic boolean remove(FeatureRule rule)
FeatureRulesremove in interface FeatureRulesrule - FeatureRule to removepublic FeatureRules getCopy()
FeatureRulesgetCopy in interface FeatureRulespublic void validate(Feature feature) throws DataException
feature - DataExceptionpublic void validate(Feature feature, int mode) throws DataException
DataException