public class NibbleArray
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
data |
Modifier | Constructor and Description |
---|---|
|
NibbleArray() |
|
NibbleArray(byte[] storageArray) |
protected |
NibbleArray(int p_i49951_1_) |
Modifier and Type | Method and Description |
---|---|
NibbleArray |
copy() |
int |
get(int x,
int y,
int z) |
protected int |
getCoordinateIndex(int x,
int y,
int z) |
byte[] |
getData() |
private int |
getFromIndex(int index) |
private int |
getNibbleIndex(int index) |
boolean |
isEmpty() |
private boolean |
isLowerNibble(int index) |
void |
set(int x,
int y,
int z,
int value) |
private void |
setIndex(int index,
int value) |
java.lang.String |
toString() |
public NibbleArray()
public NibbleArray(byte[] storageArray)
protected NibbleArray(int p_i49951_1_)
public int get(int x, int y, int z)
public void set(int x, int y, int z, int value)
protected int getCoordinateIndex(int x, int y, int z)
private int getFromIndex(int index)
private void setIndex(int index, int value)
private boolean isLowerNibble(int index)
private int getNibbleIndex(int index)
public byte[] getData()
public NibbleArray copy()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isEmpty()