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 Type Method Description MutableSetIterable<T>
getRejected()
MutableSetIterable<T>
getSelected()
Methods inherited from interface org.eclipse.collections.api.partition.PartitionMutableCollection
toImmutable
-
Method Details
-
getSelected
MutableSetIterable<T> getSelected()- Specified by:
getSelected
in interfacePartitionIterable<T>
- Specified by:
getSelected
in interfacePartitionMutableCollection<T>
- Specified by:
getSelected
in interfacePartitionSet<T>
-
getRejected
MutableSetIterable<T> getRejected()- Specified by:
getRejected
in interfacePartitionIterable<T>
- Specified by:
getRejected
in interfacePartitionMutableCollection<T>
- Specified by:
getRejected
in interfacePartitionSet<T>
-