Package | Description |
---|---|
org.apache.commons.collections4.iterators |
This package contains implementations of the
Iterator interface. |
Modifier and Type | Method and Description |
---|---|
static <E> PeekingIterator<E> |
PeekingIterator.peekingIterator(Iterator<? extends E> iterator)
Decorates the specified iterator to support one-element lookahead.
|
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.