protected abstract class RingBufferArrayFast.ARingBufferIterator extends Object implements Iterator<T>
Modifier and Type | Field and Description |
---|---|
protected int |
m_count
The amount of returned instances, needed for knowing if iterator is
empty.
|
protected int |
m_pos
The index of the next instance to return.
|
protected int m_count
protected int m_pos
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean hasNext()
hasNext
in interface Iterator<T>
Iterator.hasNext()
protected abstract void incPos()
public T next()
next
in interface Iterator<T>
Iterator.next()
public void remove() throws UnsupportedOperationException
remove
in interface Iterator<T>
UnsupportedOperationException
- always as this is not supported.Iterator.remove()
Copyright © 2001 - 2010 LGPL, All Rights Footloose.