org.apache.myfaces.trinidad.component
Class CompositeIterator<T>
java.lang.Object
org.apache.myfaces.trinidad.component.CompositeIterator<T>
- All Implemented Interfaces:
- Iterator<T>
public final class CompositeIterator<T>
- extends Object
- implements Iterator<T>
not thread safe, though it could be as thread-safe as the underlying Iterators at a slight cost to performance and size
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeIterator
public CompositeIterator(Iterator<T> firstIterator,
Iterator<T> secondIterator)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<T>
next
public T next()
- Specified by:
next
in interface Iterator<T>
remove
public void remove()
- Specified by:
remove
in interface Iterator<T>
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.