public final class ByteArray extends java.lang.Object implements Swappable
Integer.MAX_VALUE
Bytes. Dennoch wird aus Speichergruenden darauf verzichtet,
den kompletten Long
Bereich zu adressieren.Modifier and Type | Field and Description |
---|---|
static long |
MAXMEM |
Constructor and Description |
---|
ByteArray() |
ByteArray(Swappable swappable) |
public static final long MAXMEM
public ByteArray(Swappable swappable)
public ByteArray()
public long getSize()
public void swap(long i, long j)
Swappable
public void push(byte value)
public void clear()
public byte get(long idx)
public void set(long idx, byte value)
public int get(long idx, byte[] bytes)
public void set(long idx, byte[] bytes, int len)