org.stringtree.util.iterator
Class NestedIterator

java.lang.Object
  extended by org.stringtree.util.iterator.AbstractIterator
      extended by org.stringtree.util.iterator.NestedIterator
All Implemented Interfaces:
java.util.Iterator

public class NestedIterator
extends AbstractIterator


Field Summary
protected  int current
           
protected  java.util.Iterator[] iterators
           
protected static java.util.Iterator[] prototype
           
 
Constructor Summary
NestedIterator(java.util.Collection collection)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 
Methods inherited from class org.stringtree.util.iterator.AbstractIterator
remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prototype

protected static final java.util.Iterator[] prototype

iterators

protected java.util.Iterator[] iterators

current

protected int current
Constructor Detail

NestedIterator

public NestedIterator(java.util.Collection collection)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator
Specified by:
hasNext in class AbstractIterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator
Specified by:
next in class AbstractIterator