containeruos.java

来自「国外的数据结构与算法分析用书」· Java 代码 · 共 24 行

JAVA
24
字号
/* ContainerUos.java
 * ---------------------------------------------
 * Copyright (c) 2001 University of Saskatchewan
 * All Rights Reserved
 * --------------------------------------------- */
 
package dslib.base;

import java.io.Serializable;

/**	A container class with functions to test for empty or full, and 
	procedure wipeOut to remove all items. */
public interface ContainerUos extends Serializable, Cloneable
{
	/**	Is the data structure empty?. */
	public boolean isEmpty();
 
	/**	Is the data structure full?. */
	public boolean isFull();
 
	/**	Remove all items from the data structure. */
	public void wipeOut();
} 

⌨️ 快捷键说明

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