|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinfo.monitorenter.util.collections.RingBufferArrayFast.ARingBufferIterator
protected abstract class RingBufferArrayFast.ARingBufferIterator
Base for ring buffer iterators that has access to the ring buffer by being an non-static inner class.
| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int m_count
protected int m_pos
| Method Detail |
|---|
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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||