boundeduos.java

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

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

/**	A ContainerUos class with limited size, and functions to count the 
	number of items and determine if the structure is full. */
public interface BoundedUos extends ContainerUos
{  
	/**	Number of items in the data structure. */
	public int count();

	/**	Number of items the data structure can hold. */
	public int capacity();
} 

⌨️ 快捷键说明

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