public final class EmptyImmutableArray extends Object implements LongImmutableArray, IntImmutableArray, ShortImmutableArray, ByteImmutableArray, FloatImmutableArray, DoubleImmutableArray, BooleanImmutableArray
LongImmutableArray.BuilderIntImmutableArray.BuilderShortImmutableArray.BuilderByteImmutableArray.BuilderFloatImmutableArray.BuilderDoubleImmutableArray.BuilderBooleanImmutableArray.Builder| Constructor and Description |
|---|
EmptyImmutableArray() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAsBoolean(long index)
Returns the value located at the specified index in the array.
|
byte |
getAsByte(long index)
Returns the value located at the specified index in the array.
|
double |
getAsDouble(long index)
Returns the value located at the specified index in the array.
|
float |
getAsFloat(long index)
Returns the value located at the specified index in the array.
|
int |
getAsInt(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.
|
short |
getAsShort(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, waitbuilderbuilderbuilderbuilderbuilderbuilderbuilderpublic long getAsLong(long index)
LongImmutableArraygetAsLong in interface LongImmutableArrayindex - the indexpublic int getAsInt(long index)
IntImmutableArraygetAsInt in interface IntImmutableArrayindex - the indexpublic short getAsShort(long index)
ShortImmutableArraygetAsShort in interface ShortImmutableArrayindex - the indexpublic byte getAsByte(long index)
ByteImmutableArraygetAsByte in interface ByteImmutableArrayindex - the indexpublic float getAsFloat(long index)
FloatImmutableArraygetAsFloat in interface FloatImmutableArrayindex - the indexpublic double getAsDouble(long index)
DoubleImmutableArraygetAsDouble in interface DoubleImmutableArrayindex - the indexpublic boolean getAsBoolean(long index)
BooleanImmutableArraygetAsBoolean in interface BooleanImmutableArrayindex - the indexpublic long length()
LongImmutableArrayLongImmutableArray.getAsLong(long) method).length in interface BooleanImmutableArraylength in interface ByteImmutableArraylength in interface DoubleImmutableArraylength in interface FloatImmutableArraylength in interface IntImmutableArraylength in interface LongImmutableArraylength in interface ShortImmutableArrayCopyright © 2016. All rights reserved.