public final class LongImmutableArrayImpl extends Object implements LongImmutableArray, DoubleImmutableArray
LongImmutableArray.BuilderDoubleImmutableArray.Builder| Constructor and Description |
|---|
LongImmutableArrayImpl(long[] values) |
| Modifier and Type | Method and Description |
|---|---|
double |
getAsDouble(long index)
Returns the value located at the specified index in the array.
|
long |
getAsLong(long index)
Returns the value located at the specified index in the array.
|
long |
length()
Returns the length of the array (the number of longs that can safely
be retrieved using the
LongImmutableArray.getAsLong(long) method). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderbuilderpublic double getAsDouble(long index)
DoubleImmutableArraygetAsDouble in interface DoubleImmutableArrayindex - the indexpublic long getAsLong(long index)
LongImmutableArraygetAsLong in interface LongImmutableArrayindex - the indexpublic long length()
LongImmutableArrayLongImmutableArray.getAsLong(long) method).length in interface DoubleImmutableArraylength in interface LongImmutableArrayCopyright © 2016. All rights reserved.