|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.PrimitiveSparseArray.Iterator
public class PrimitiveSparseArray.Iterator
Iterator over long values stored in the tree.
Constructor Summary | |
---|---|
protected |
PrimitiveSparseArray.Iterator(com.oracle.common.collections.AbstractSparseArray.Node head, int fromdir, boolean fForward) Instantiate a new PrimitiveIterator at the specified location and direction. |
Method Summary | |
---|---|
long |
getPrimitiveValue() Returns the current value, which is the same value returned by the most recent call to the nextPrimitive method, or the most recent value passed to setPrimitiveValue if setPrimitiveValue were called after the nextPrimitive method. |
long |
nextPrimitive() Returns the next element (as a long) in the iteration. |
long |
setPrimitiveValue(long lValue) Stores a new value at the current value index, returning the value that was replaced. |
Methods inherited from interface com.oracle.common.collections.LongArray.Iterator |
---|
getIndex, getValue, hasNext, next, remove, setValue |
Constructor Detail |
---|
protected PrimitiveSparseArray.Iterator(com.oracle.common.collections.AbstractSparseArray.Node head, int fromdir, boolean fForward)
head
- the node at which to start the crawlfromdir
- the direction in which to start the crawlMethod Detail |
---|
public long nextPrimitive()
java.util.NoSuchElementException
- iteration has no more elementspublic long getPrimitiveValue()
java.lang.IllegalStateException
- if the next method has not yet been called, or the remove method has already been called after the last call to the next method.public long setPrimitiveValue(long lValue)
java.lang.IllegalStateException
- if the next method has not yet been called, or the remove method has already been called after the last call to the next method.
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |