Interface PartitionImmutableSetIterable<T>
- All Superinterfaces:
PartitionImmutableCollection<T>,PartitionIterable<T>,PartitionSet<T>
- All Known Subinterfaces:
PartitionImmutableSet<T>,PartitionImmutableSortedSet<T>
- All Known Implementing Classes:
PartitionImmutableSetImpl,PartitionImmutableSortedSetImpl
public interface PartitionImmutableSetIterable<T> extends PartitionSet<T>, PartitionImmutableCollection<T>
A PartitionImmutableSetIterable is the result of splitting a ImmutableSetIterable into two ImmutableSetIterables 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 ImmutableSetIterable<T>getRejected()ImmutableSetIterable<T>getSelected()
-
Method Details
-
getSelected
ImmutableSetIterable<T> getSelected()- Specified by:
getSelectedin interfacePartitionImmutableCollection<T>- Specified by:
getSelectedin interfacePartitionIterable<T>- Specified by:
getSelectedin interfacePartitionSet<T>
-
getRejected
ImmutableSetIterable<T> getRejected()- Specified by:
getRejectedin interfacePartitionImmutableCollection<T>- Specified by:
getRejectedin interfacePartitionIterable<T>- Specified by:
getRejectedin interfacePartitionSet<T>
-