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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
hasNext() |
protected abstract void |
incPos()
Increment the internal read position pointer.
|
T |
next() |
void |
remove()
Not supported.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
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.