public class ExpandingIterator<T> extends AbstractIterator<Option<T>>
Constructor and Description |
---|
ExpandingIterator(ElementToIteratorFunction<T> expandingFunction,
Iterator<Option<T>> sourceIterator) |
Modifier and Type | Method and Description |
---|---|
protected Option<T> |
getElement() |
hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public ExpandingIterator(ElementToIteratorFunction<T> expandingFunction, Iterator<Option<T>> sourceIterator)
protected Option<T> getElement()
getElement
in class AbstractIterator<Option<T>>
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.