|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.CopyOnWriteLongArray.UnmodifiableIterator
public static class CopyOnWriteLongArray.UnmodifiableIterator
Unmodifiable view of a LongArray.Iterator.
Field Summary | |
---|---|
protected LongArray.Iterator |
m_iteratorInternal The internal Iterator |
Constructor Summary | |
---|---|
CopyOnWriteLongArray.UnmodifiableIterator(LongArray.Iterator iterator) Construct a wrapper for the specified Iterator. |
Method Summary | |
---|---|
long |
getIndex() Returns the index of the current value, which is the value returned by the most recent call to the next method. |
LongArray.Iterator |
getInternalIterator() Return the internal Iterator. |
java.lang.Object |
getValue() Returns the current value, which is the same value returned by the most recent call to the next method, or the most recent value passed to setValue if setValue were called after the next method. |
boolean |
hasNext() Returns true if the iteration has more elements. |
java.lang.Object |
next() Returns the next element in the iteration. |
void |
remove() Removes from the underlying collection the last element returned by the iterator (optional operation). |
java.lang.Object |
setValue(java.lang.Object oValue) Stores a new value at the current value index, returning the value that was replaced. |
Field Detail |
---|
protected LongArray.Iterator m_iteratorInternal
Constructor Detail |
---|
public CopyOnWriteLongArray.UnmodifiableIterator(LongArray.Iterator iterator)
iterator
- the iterator to create a wrapper forMethod Detail |
---|
public LongArray.Iterator getInternalIterator()
public boolean hasNext()
hasNext
in interface LongArray.Iterator
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface LongArray.Iterator
next
in interface java.util.Iterator
public long getIndex()
getIndex
in interface LongArray.Iterator
public java.lang.Object getValue()
getValue
in interface LongArray.Iterator
public java.lang.Object setValue(java.lang.Object oValue)
setValue
in interface LongArray.Iterator
public void remove()
remove
in interface LongArray.Iterator
remove
in interface java.util.Iterator
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |