1 Star 0 Fork 0

20202321邬昱初/javastudy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
BinaryTree.java 618 Bytes
一键复制 编辑 原始数据 按行查看 历史
20202321邬昱初 提交于 3年前 . 20202321
package LBT;
import java.util.Iterator;
public interface BinaryTree<T> {
public T getRootElement() throws Exception;
public BinaryTree<T> getLeft() throws Exception;
public BinaryTree<T> getRight() throws Exception;
public boolean contains (T target) throws Exception;
public T find (T target) throws Exception;
public boolean isEmpty();
public int size();
public String toString();
public Iterator<T> preorder();
public Iterator<T> inorder();
public Iterator<T> postorder();
public Iterator<T> levelorder() throws Exception;
Iterator<T> iterator();
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wu-yuchu/javastudy.git
git@gitee.com:wu-yuchu/javastudy.git
wu-yuchu
javastudy
javastudy
master

搜索帮助