📄 cursoruos.java
字号:
/* CursorUos.java
* ---------------------------------------------
* Copyright (c) 2001 University of Saskatchewan
* All Rights Reserved
* --------------------------------------------- */
package dslib.base;
import dslib.exception.*;
import java.io.Serializable;
/** A cursor to keep track of the current item in a data structure.
It includes an itemExists routine to determine if the
cursor is presently referring to an item in the structure. */
public interface CursorUos extends Serializable, Cloneable
{
/** The current item. <br>
PRECONDITION: <br>
<ul>
itemExists()
</ul> */
public Object item() throws NoIteratorItemUosException;
/** Is there a current item?. */
public boolean itemExists();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -