bilineariteratoruos.java
来自「国外的数据结构与算法分析用书」· Java 代码 · 共 29 行
JAVA
29 行
/* BilinearIteratorUos.java
* ---------------------------------------------
* Copyright (c) 2001 University of Saskatchewan
* All Rights Reserved
* --------------------------------------------- */
package dslib.base;
import dslib.exception.BeforeTheStartUosException;
/** An Iterator which has routines to move forward and back,
and to the first and last items of a collection. It keeps track of
the current item, and also has routines to determine if it is
before the start or after the end of the collection. */
public interface BilinearIteratorUos extends LinearIteratorUos
{
/** Go to last item of the data structure. */
public void goLast();
/** Move back one item in the data structure. <br>
PRECONDITION: <br>
<ul>
!before()
</ul> */
public void goBack() throws BeforeTheStartUosException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?