public final class BooleanBigArray extends Object
| Constructor and Description |
|---|
BooleanBigArray()
Creates a new big array containing one initial segment
|
BooleanBigArray(boolean initialValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureCapacity(long length)
Ensures this big array is at least the specified length.
|
boolean |
get(long index)
Returns the element of this big array at specified index.
|
void |
set(long index,
boolean value)
Sets the element of this big array at specified index.
|
long |
sizeOf()
Returns the size of this big array in bytes.
|
public BooleanBigArray()
public BooleanBigArray(boolean initialValue)
public long sizeOf()
public boolean get(long index)
index - a position in this big array.public void set(long index,
boolean value)
index - a position in this big array.public void ensureCapacity(long length)
Copyright © 2012–2022. All rights reserved.