org.rapla.components.util.iterator
Class IteratorChain
java.lang.Object
org.rapla.components.util.iterator.IteratorChain
- All Implemented Interfaces:
- Iterator
public class IteratorChain
- extends Object
- implements Iterator
concatenates two Iterators
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
firstIt
protected Iterator firstIt
secondIt
protected Iterator secondIt
IteratorChain
public IteratorChain(Iterator firstIt,
Iterator secondIt)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
Copyright © 2000-2006 Rapla Team. All Rights Reseserved.