Package org.eclipse.jetty.util
Class BlockingArrayQueue.Itr
- java.lang.Object
-
- org.eclipse.jetty.util.BlockingArrayQueue.Itr
-
- All Implemented Interfaces:
java.util.Iterator<E>,java.util.ListIterator<E>
- Enclosing class:
- BlockingArrayQueue<E>
private class BlockingArrayQueue.Itr extends java.lang.Object implements java.util.ListIterator<E>
-
-
Constructor Summary
Constructors Constructor Description Itr(java.lang.Object[] elements, int offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(E e)booleanhasNext()booleanhasPrevious()Enext()intnextIndex()Eprevious()intpreviousIndex()voidremove()voidset(E e)
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public E next()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfacejava.util.ListIterator<E>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfacejava.util.ListIterator<E>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator<E>
-
remove
public void remove()
-
-