org.mortbay.util
Class ArrayIdQueue.ArrayIdIterator

java.lang.Object
  extended by org.mortbay.util.ArrayIdQueue.ArrayIdIterator
All Implemented Interfaces:
Iterator<E>
Enclosing class:
ArrayIdQueue<E>

public class ArrayIdQueue.ArrayIdIterator
extends Object
implements Iterator<E>


Constructor Summary
ArrayIdQueue.ArrayIdIterator(Iterator<E> iterator)
           
 
Method Summary
 long associatedId()
           
 boolean hasNext()
           
 E next()
           
 long nextId()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayIdQueue.ArrayIdIterator

public ArrayIdQueue.ArrayIdIterator(Iterator<E> iterator)
Method Detail

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.