public final class BooleanSmallImmutableArray extends Object implements BooleanImmutableArray
BooleanImmutableArray.Builder| Constructor and Description |
|---|
BooleanSmallImmutableArray(short[] bitmask,
long length) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAsBoolean(long index)
Returns the value located at the specified index in the array.
|
long |
length()
Returns the length of the array (the number of booleans that can safely
be retrieved using the
BooleanImmutableArray.getAsBoolean(long) method). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderpublic BooleanSmallImmutableArray(short[] bitmask,
long length)
public boolean getAsBoolean(long index)
BooleanImmutableArraygetAsBoolean in interface BooleanImmutableArrayindex - the indexpublic long length()
BooleanImmutableArrayBooleanImmutableArray.getAsBoolean(long) method).length in interface BooleanImmutableArrayCopyright © 2016. All rights reserved.