📄 keyedcursoruos.java
字号:
/* KeyedCursorUos.java
* ---------------------------------------------
* Copyright (c) 2001 University of Saskatchewan
* All Rights Reserved
* --------------------------------------------- */
package dslib.base;
import dslib.exception.NoCurrentItemUosException;
/** A Cursor with a key. Item refers to the current item, itemKey
is the key of the current item, and itemExists determines if
the cursor is presently referring to an item in the structure. */
public interface KeyedCursorUos extends CursorUos
{
/** The key of the current item. <br>
PRECONDITION: <br>
<ul>
itemExists()
</ul> */
public Comparable itemKey() throws NoCurrentItemUosException;
/** The current key-item pair. <br>
PRECONDITION: <br>
<ul>
itemExists()
</ul> */
public PairUos keyItemPair() throws NoCurrentItemUosException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -