📄 binaryiteratoruos.java
字号:
/* BinaryIteratorUos.java
* ---------------------------------------------
* Copyright (c) 2001 University of Saskatchewan
* All Rights Reserved
* --------------------------------------------- */
package dslib.tree;
import dslib.base.*;
/** Interface describing an iterator for a Binary tree
or equivalent structure. */
public interface BinaryIteratorUos extends CursorUos
{
/** Is the current position below a leaf?. */
public boolean below();
/** Is the current position above the root?. */
public boolean above();
/** Advance to the root of the left subtree. */
public void goLeft();
/** Advance to the root of the right subtree. */
public void goRight();
/** Go to root item of the data strucuture (if it exists). */
public void goRoot();
/** Move above the root item. */
public void goAbove();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -