Class RingBufferArrayFast.ARingBufferIterator
- java.lang.Object
-
- info.monitorenter.util.collections.RingBufferArrayFast.ARingBufferIterator
-
- All Implemented Interfaces:
java.util.Iterator<T>
- Enclosing class:
- RingBufferArrayFast<T>
protected abstract class RingBufferArrayFast.ARingBufferIterator extends java.lang.Object implements java.util.Iterator<T>
Base for ring buffer iterators that has access to the ring buffer by being an non-static inner class.- Version:
- $Revision: 1.13 $
- Author:
- Achim Westermann
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods 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.
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
Object.hashCode()
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<T>
- See Also:
Iterator.hasNext()
-
incPos
protected abstract void incPos()
Increment the internal read position pointer.
-
next
public T next()
- Specified by:
next
in interfacejava.util.Iterator<T>
- See Also:
Iterator.next()
-
remove
public void remove() throws java.lang.UnsupportedOperationException
Not supported.- Specified by:
remove
in interfacejava.util.Iterator<T>
- Throws:
java.lang.UnsupportedOperationException
- always as this is not supported.- See Also:
Iterator.remove()
-
-