Interface PartitionUnsortedSet<T>
- All Superinterfaces:
PartitionIterable<T>
,PartitionSet<T>
- All Known Subinterfaces:
PartitionImmutableSet<T>
,PartitionMutableSet<T>
- All Known Implementing Classes:
PartitionImmutableSetImpl
,PartitionUnifiedSet
,PartitionUnifiedSetWithHashingStrategy
public interface PartitionUnsortedSet<T> extends PartitionSet<T>
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 Type Method Description UnsortedSetIterable<T>
getRejected()
UnsortedSetIterable<T>
getSelected()
-
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>
-