Interface PartitionMutableSetIterable<T>
- All Superinterfaces:
PartitionIterable<T>,PartitionMutableCollection<T>,PartitionSet<T>
- All Known Subinterfaces:
PartitionMutableSet<T>,PartitionMutableSortedSet<T>
- All Known Implementing Classes:
PartitionTreeSortedSet,PartitionUnifiedSet,PartitionUnifiedSetWithHashingStrategy
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
Modifier and TypeMethodDescriptionMethods inherited from interface org.eclipse.collections.api.partition.PartitionMutableCollection
toImmutable
-
Method Details
-
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>
-