F
- the type of the provided LongArrayT
- the type of the desired typepublic static class ConverterCollections.ConverterLongArray<F,T> extends com.oracle.common.collections.ConverterCollections.ConverterLongArray<F,T> implements LongArray<T>
F
) to the desired from (type T
).Modifier and Type | Class and Description |
---|---|
protected class |
ConverterCollections.ConverterLongArray.ConverterLongArrayIterator
Inner class ensuring we honor .
|
LongArray.Iterator<V>
Constructor and Description |
---|
ConverterLongArray(LongArray<F> laDelegate,
Converter<F,T> convUp,
Converter<T,F> convDown)
Construct a LongArray that converts the values from type
F
to type T . |
Modifier and Type | Method and Description |
---|---|
protected LongArray.Iterator<T> |
instantiateIterator(com.oracle.common.collections.LongArray.Iterator<F> iter)
Instantiate a new Iterator wrapping the provided iterator.
|
LongArray.Iterator<T> |
iterator()
Obtain a LongArray.Iterator of the contents of the LongArray in
order of increasing indices.
|
LongArray.Iterator<T> |
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<T> |
reverseIterator()
Obtain a LongArray.Iterator of the contents of the LongArray in
reverse order (decreasing indices).
|
LongArray.Iterator<T> |
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, exists, floor, floorIndex, get, getFirstIndex, getLastIndex, getSize, indexOf, indexOf, isEmpty, lastIndexOf, lastIndexOf, remove, remove, set
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public LongArray.Iterator<T> iterator()
com.oracle.common.collections.LongArray
public LongArray.Iterator<T> 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.public LongArray.Iterator<T> reverseIterator()
com.oracle.common.collections.LongArray
public LongArray.Iterator<T> 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.protected LongArray.Iterator<T> instantiateIterator(com.oracle.common.collections.LongArray.Iterator<F> iter)
com.oracle.common.collections.ConverterCollections.ConverterLongArray