public class SplayingNode {
protected BaseObject el;
protected SplayingNode left, right, parent;
public SplayingNode() {
left = right = parent = null;
}
public SplayingNode(BaseObject el) {
this(el,null,null,null);
}
public SplayingNode(BaseObject ob, SplayingNode lt, SplayingNode rt, SplayingNode pr) {
el = ob; left = lt; right = rt; parent = pr;
}
}