| java.lang.Object net.sf.jga.util.FindAllIterator
FindAllIterator | public class FindAllIterator implements Iterable<Iterator<? extends T>>,Iterator<Iterator<? extends T>>(Code) | | Iterator that applies one of the FindX functors as many times as possible.
Formally, this iterator uses a functor that takes one iterator and returns
an iterator, and repeatedly applies it to a given iterator until the result
iterator's hasNext() method is false.
Copyright © 2004-2005 David A. Hall
author: David A. Hall |
FindAllIterator | public FindAllIterator(Iterator<? extends T> it, UnaryFunctor<Iterator<? extends T>, ? extends Iterator<T>> fn)(Code) | | Builds a FindAllIterator that will apply the given functor to the given
iterator.
|
hasNext | public boolean hasNext()(Code) | | |
remove | public void remove()(Code) | | |
|
|