Interface PartitionUnsortedSet<T>
- All Superinterfaces:
PartitionIterable<T>
,PartitionSet<T>
- All Known Subinterfaces:
PartitionImmutableSet<T>
,PartitionMutableSet<T>
- All Known Implementing Classes:
PartitionImmutableSetImpl
,PartitionUnifiedSet
,PartitionUnifiedSetWithHashingStrategy
A PartitionUnsortedSet is the result of splitting two UnsortedSetIterable 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 TypeMethodDescription
-
Method Details
-
getSelected
UnsortedSetIterable<T> getSelected()- Specified by:
getSelected
in interfacePartitionIterable<T>
- Specified by:
getSelected
in interfacePartitionSet<T>
-
getRejected
UnsortedSetIterable<T> getRejected()- Specified by:
getRejected
in interfacePartitionIterable<T>
- Specified by:
getRejected
in interfacePartitionSet<T>
-