⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 parent.java

📁 java版的数据结构的完全代码 免费提供了 学习数据结构的请下载
💻 JAVA
字号:
// Introduced in Chapter 11/** * Something which has children, such as a BinarySearchTree or a * BinaryNode. */public interface Parent<E> {  /**   * Return the left child if direction < 0, or the right child   * otherwise.   */  public BinaryNode<E> getChild(int direction);  /**   * Replace the specified child of this parent with the new child.   * If direction < 0, replace the left child.  Otherwise, replace   * the right child.   */  public void setChild(int direction, BinaryNode<E> child);  }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -