prefuse.util.collections
Class CompositeIterator
java.lang.Object
prefuse.util.collections.CompositeIterator
- All Implemented Interfaces:
- java.util.Iterator
public class CompositeIterator
- extends java.lang.Object
- implements java.util.Iterator
Iterator implementation that combines the results of multiple iterators.
- Author:
- jeffrey heer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeIterator
public CompositeIterator(int size)
CompositeIterator
public CompositeIterator(java.util.Iterator iter1,
java.util.Iterator iter2)
CompositeIterator
public CompositeIterator(java.util.Iterator[] iters)
setIterator
public void setIterator(int idx,
java.util.Iterator iter)
remove
public void remove()
- Not supported.
- Specified by:
remove
in interface java.util.Iterator
- See Also:
Iterator.remove()
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
- See Also:
Iterator.next()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
- See Also:
Iterator.hasNext()
Copyright © 2007 Regents of the University of California