public interface LongArray<V>
extends com.oracle.common.collections.LongArray<V>
Unlike the List interface, the LongArray interface assumes that every index can be accessed and has storage available.
Modifier and Type | Interface and Description |
---|---|
static interface |
LongArray.Iterator<V> |
Modifier and Type | Method and Description |
---|---|
LongArray.Iterator<V> |
iterator()
Obtain a LongArray.Iterator of the contents of the LongArray in
order of increasing indices.
|
LongArray.Iterator<V> |
iterator(long lIndex)
Obtain a LongArray.Iterator of the contents of the LongArray in
order of increasing indices, starting at a particular index such
that the first call to
next will set the location of
the iterator at the first existent index that is greater than or
equal to the specified index, or will throw a
NoSuchElementException if there is no such existent index. |
LongArray.Iterator<V> |
reverseIterator()
Obtain a LongArray.Iterator of the contents of the LongArray in
reverse order (decreasing indices).
|
LongArray.Iterator<V> |
reverseIterator(long lIndex)
Obtain a LongArray.Iterator of the contents of the LongArray in
reverse order (decreasing indices), starting at a particular
index such that the first call to
next will set the
location of the iterator at the first existent index that is
less than or equal to the specified index, or will throw a
NoSuchElementException if there is no such existent index. |
add, ceiling, ceilingIndex, clear, clone, contains, equals, exists, floor, floorIndex, get, getFirstIndex, getLastIndex, getSize, indexOf, indexOf, isEmpty, keys, lastIndexOf, lastIndexOf, remove, remove, set, toString
forEach, spliterator
LongArray.Iterator<V> iterator()
com.oracle.common.collections.LongArray
LongArray.Iterator<V> iterator(long lIndex)
com.oracle.common.collections.LongArray
next
will set the location of
the iterator at the first existent index that is greater than or
equal to the specified index, or will throw a
NoSuchElementException if there is no such existent index.iterator
in interface com.oracle.common.collections.LongArray<V>
lIndex
- the LongArray index to iterate fromLongArray.Iterator<V> reverseIterator()
com.oracle.common.collections.LongArray
reverseIterator
in interface com.oracle.common.collections.LongArray<V>
LongArray.Iterator<V> reverseIterator(long lIndex)
com.oracle.common.collections.LongArray
next
will set the
location of the iterator at the first existent index that is
less than or equal to the specified index, or will throw a
NoSuchElementException if there is no such existent index.reverseIterator
in interface com.oracle.common.collections.LongArray<V>
lIndex
- the LongArray index to iterate from