|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
| 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_iteratorInternalThe 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 for| Method Detail |
|---|
public LongArray.Iterator getInternalIterator()
public boolean hasNext()
hasNext in interface LongArray.IteratorhasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface LongArray.Iteratornext in interface java.util.Iteratorpublic long getIndex()
getIndex in interface LongArray.Iteratorpublic java.lang.Object getValue()
getValue in interface LongArray.Iteratorpublic java.lang.Object setValue(java.lang.Object oValue)
setValue in interface LongArray.Iteratorpublic void remove()
remove in interface LongArray.Iteratorremove in interface java.util.Iterator
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||