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