public class PredicatePartitioningCharIterator extends DelegatingIterator<java.lang.Character,CharIterator,CharSeq>
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 |
|---|
PredicatePartitioningCharIterator(CharIterator iterator,
CharBiPredicate predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
CharSeq |
next() |
void |
remove() |
public PredicatePartitioningCharIterator(CharIterator iterator, CharBiPredicate predicate)
public boolean hasNext()
hasNext in interface java.util.Iterator<CharSeq>hasNext in class DelegatingIterator<java.lang.Character,CharIterator,CharSeq>public CharSeq next()
public void remove()
remove in interface java.util.Iterator<CharSeq>remove in class DelegatingIterator<java.lang.Character,CharIterator,CharSeq>