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