net.sf.jga.algorithms
Class Append.AppendIterator<T>

java.lang.Object
  extended by net.sf.jga.algorithms.Append.AppendIterator<T>
All Implemented Interfaces:
java.util.Iterator<T>
Enclosing class:
Append

public static class Append.AppendIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>

Iterator that returns the contents of a two-dimensional datastructure.


Constructor Summary
Append.AppendIterator(java.util.Iterator<? extends java.util.Iterator<? extends T>> iters)
          Builds a Append.Iterator for the given base iterators
Append.AppendIterator(java.util.Iterator<? extends T>... iters)
          Builds a Append.Iterator for the given base iterators
 
Method Summary
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Append.AppendIterator

public Append.AppendIterator(java.util.Iterator<? extends T>... iters)
Builds a Append.Iterator for the given base iterators


Append.AppendIterator

public Append.AppendIterator(java.util.Iterator<? extends java.util.Iterator<? extends T>> iters)
Builds a Append.Iterator for the given base iterators

Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<T>

next

public T next()
Specified by:
next in interface java.util.Iterator<T>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<T>


Copyright © 2002-2006 David A. Hall. All Rights Reserved.