public class Node
extends java.lang.Object
Constructor and Description |
---|
Node(Node parent,
int height,
int slot,
java.util.List<Node> slots) |
Modifier and Type | Method and Description |
---|---|
int |
getChildWireLength() |
int |
getHeight() |
int |
getId() |
Node |
getLeftChild() |
int |
getMaxChildWireSlot() |
int |
getMinChildWireSlot() |
Node |
getParent() |
Node |
getRightChild() |
int |
getSlot() |
boolean |
isLeaf() |
boolean |
isRoot() |
static void |
resetIds() |
void |
setSlot(int s) |
java.lang.String |
toString() |
public Node getLeftChild()
public Node getRightChild()
public Node getParent()
public int getSlot()
public void setSlot(int s)
public int getHeight()
public boolean isLeaf()
public boolean isRoot()
public int getMinChildWireSlot()
public int getMaxChildWireSlot()
public int getChildWireLength()
public int getId()
public java.lang.String toString()
toString
in class java.lang.Object
public static void resetIds()