org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util
Class CompoundIterator
java.lang.Object
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util.CompoundIterator
- All Implemented Interfaces:
- Iterator
public class CompoundIterator
- extends Object
- implements Iterator
CompoundIterator consumes the initial iterator before
observing the next iterator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompoundIterator
public CompoundIterator(Iterator primary,
Iterator secondary)
CompoundIterator
public CompoundIterator(Iterator[] iterators)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.