org.mortbay.util
Class ArrayIdQueue.ArrayIdIterator
java.lang.Object
org.mortbay.util.ArrayIdQueue.ArrayIdIterator
- All Implemented Interfaces:
- Iterator<E>
- Enclosing class:
- ArrayIdQueue<E>
public class ArrayIdQueue.ArrayIdIterator
- extends Object
- implements Iterator<E>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayIdQueue.ArrayIdIterator
public ArrayIdQueue.ArrayIdIterator(Iterator<E> iterator)
associatedId
public long associatedId()
- Returns:
- the id associated with the current element in the iteration
nextId
public long nextId()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<E>
next
public E next()
- Specified by:
next
in interface Iterator<E>
remove
public void remove()
- Specified by:
remove
in interface Iterator<E>
Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.