Interface PartitionUnsortedSet<T>
-
- All Superinterfaces:
PartitionIterable<T>,PartitionSet<T>
- All Known Subinterfaces:
PartitionImmutableSet<T>,PartitionMutableSet<T>
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UnsortedSetIterable<T>getRejected()UnsortedSetIterable<T>getSelected()
-
-
-
Method Detail
-
getSelected
UnsortedSetIterable<T> getSelected()
- Specified by:
getSelectedin interfacePartitionIterable<T>- Specified by:
getSelectedin interfacePartitionSet<T>
-
getRejected
UnsortedSetIterable<T> getRejected()
- Specified by:
getRejectedin interfacePartitionIterable<T>- Specified by:
getRejectedin interfacePartitionSet<T>
-
-