protected class ConverterCollections.ConverterLongArray.ConverterLongArrayIterator extends ConverterCollections.ConverterEnumerator<F,T> implements LongArray.Iterator<T>
m_conv, m_iter
Constructor and Description |
---|
ConverterLongArrayIterator(LongArray.Iterator<F> iter)
Construct a converting iterator.
|
Modifier and Type | Method and Description |
---|---|
long |
getIndex()
Returns the index of the current value, which is the value returned
by the most recent call to the next method.
|
T |
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.
|
T |
setValue(T oValue)
Stores a new value at the current value index, returning the value
that was replaced.
|
hasMoreElements, hasNext, next, nextElement, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasNext, next, remove
forEachRemaining
public ConverterLongArrayIterator(LongArray.Iterator<F> iter)
iter
- the underlying iteratorpublic long getIndex()
LongArray.Iterator
getIndex
in interface LongArray.Iterator<T>
public T getValue()
LongArray.Iterator
getValue
in interface LongArray.Iterator<T>
public T setValue(T oValue)
LongArray.Iterator
setValue
in interface LongArray.Iterator<T>
oValue
- the new value to store