public class CompactTree
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
rootValue |
Constructor and Description |
---|
CompactTree() |
CompactTree(int bufferSize) |
Modifier and Type | Method and Description |
---|---|
int |
getChildAt(int index,
int childIndex) |
int |
getChildCount(int index) |
int |
getHead(int index) |
int |
getRootValue() |
int |
getSize() |
void |
init(int[] heads) |
void |
setRootValue(int rootValue) |
public void init(int[] heads)
public int getSize()
public int getHead(int index)
public int getChildCount(int index)
public int getChildAt(int index, int childIndex)
public int getRootValue()
public void setRootValue(int rootValue)