java.util.Iterator<T>protected abstract class RingBufferArrayFast.ARingBufferIterator
extends java.lang.Object
implements java.util.Iterator<T>
| Modifier and Type | Field | 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 | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
int |
hashCode() |
|
boolean |
hasNext() |
|
protected abstract void |
incPos() |
Increment the internal read position pointer.
|
T |
next() |
|
void |
remove() |
Not supported.
|
protected int m_count
protected int m_pos
public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean hasNext()
hasNext in interface java.util.Iterator<T>Iterator.hasNext()protected abstract void incPos()
public T next()
next in interface java.util.Iterator<T>Iterator.next()public void remove()
throws java.lang.UnsupportedOperationException
remove in interface java.util.Iterator<T>java.lang.UnsupportedOperationException - always as this is not supported.Iterator.remove()Copyright © 2001 - 2010 LGPL, All Rights Footloose.