hudson.util
Class Iterators.FlattenIterator<U,T>
java.lang.Object
hudson.util.Iterators.FlattenIterator<U,T>
- All Implemented Interfaces:
- Iterator<U>
- Enclosing class:
- Iterators
public abstract static class Iterators.FlattenIterator<U,T>
- extends Object
- implements Iterator<U>
Produces {A,B,C,D,E,F} from {{A,B},{C},{},{D,E,F}}.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Iterators.FlattenIterator
protected Iterators.FlattenIterator(Iterator<? extends T> core)
Iterators.FlattenIterator
protected Iterators.FlattenIterator(Iterable<? extends T> core)
expand
protected abstract Iterator<U> expand(T t)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<U>
next
public U next()
- Specified by:
next
in interface Iterator<U>
remove
public void remove()
- Specified by:
remove
in interface Iterator<U>
Copyright © 2004-2013. All Rights Reserved.