public class PredicatePartitioningIntIterator extends DelegatingIterator<java.lang.Integer,IntIterator,IntSequence>
CharIterator that can batch up another iterator by comparing two items in sequence and deciding whether
to split up in a batch on those items.iterator| Constructor and Description |
|---|
PredicatePartitioningIntIterator(IntIterator iterator,
IntBiPredicate predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
IntSequence |
next() |
void |
remove() |
public PredicatePartitioningIntIterator(IntIterator iterator, IntBiPredicate predicate)
public boolean hasNext()
hasNext in interface java.util.Iterator<IntSequence>hasNext in class DelegatingIterator<java.lang.Integer,IntIterator,IntSequence>public IntSequence next()
public void remove()
remove in interface java.util.Iterator<IntSequence>remove in class DelegatingIterator<java.lang.Integer,IntIterator,IntSequence>