binnode.java
来自「java的二叉树的实现参考」· Java 代码 · 共 17 行
JAVA
17 行
public interface BinNode {
//Return and set the element value
public Object element();
public Object setElement(Object v);
//Operation on left child
public BinNode left();
public BinNode setLeft(BinNode p);
//Operation on right child
public BinNode right();
public BinNode setRight(BinNode p);
//Return true if this is a leaf node
public boolean isLeaf();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?