Interface PartitionMutableSetIterable<T>
-
- All Superinterfaces:
PartitionIterable<T>,PartitionMutableCollection<T>,PartitionSet<T>
- All Known Subinterfaces:
PartitionMutableSet<T>,PartitionMutableSortedSet<T>
public interface PartitionMutableSetIterable<T> extends PartitionSet<T>, PartitionMutableCollection<T>
A PartitionMutableSetIterable is the result of splitting a MutableSetIterable into two MutableSetIterables based on a Predicate. The results that answer true for the Predicate will be returned from the getSelected() method and the results that answer false for the predicate will be returned from the getRejected() method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MutableSetIterable<T>getRejected()MutableSetIterable<T>getSelected()-
Methods inherited from interface org.eclipse.collections.api.partition.PartitionMutableCollection
toImmutable
-
-
-
-
Method Detail
-
getSelected
MutableSetIterable<T> getSelected()
- Specified by:
getSelectedin interfacePartitionIterable<T>- Specified by:
getSelectedin interfacePartitionMutableCollection<T>- Specified by:
getSelectedin interfacePartitionSet<T>
-
getRejected
MutableSetIterable<T> getRejected()
- Specified by:
getRejectedin interfacePartitionIterable<T>- Specified by:
getRejectedin interfacePartitionMutableCollection<T>- Specified by:
getRejectedin interfacePartitionSet<T>
-
-