Package com.lattix.core.partition
Interface RuleViolatorCollection
- All Superinterfaces:
BasicCollection<RuleViolator>,Iterable<RuleViolator>
- All Known Subinterfaces:
RuleViolatorSet
RuleViolatorCollection is a collection of RuleViolator objects
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(RuleViolator tag) Return true if the given RuleViolator is in the collectionbooleanisEmpty()Return true if the collection is emptyiterator()Returns an iterator over the RuleViolatorsMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
iterator
Iterator<RuleViolator> iterator()Returns an iterator over the RuleViolators- Specified by:
iteratorin interfaceBasicCollection<RuleViolator>- Specified by:
iteratorin interfaceIterable<RuleViolator>- Returns:
- an Iterator.
-
contains
Return true if the given RuleViolator is in the collection- Specified by:
containsin interfaceBasicCollection<RuleViolator>- Returns:
- true if the given RuleViolator is in the collection
-
isEmpty
boolean isEmpty()Return true if the collection is empty- Specified by:
isEmptyin interfaceBasicCollection<RuleViolator>- Returns:
- true if the collection is empty
-