⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linkedqueueuos.java

📁 国外的数据结构与算法分析用书
💻 JAVA
字号:
/* LinkedQueueUos.java
 * ---------------------------------------------
 * Copyright (c) 2001 University of Saskatchewan
 * All Rights Reserved
 * --------------------------------------------- */

package dslib.dispenser;

import dslib.list.LinkedLastListUos;
import dslib.exception.ContainerFullUosException;

/**	An implementation of QueueUos that uses a LinkedLastListUos to store 
	the items.  Item refers to the item at the front of the queue,
	which can be deleted.  There are also routines to insert items
	and check for empty. Implementation by means of a LinkedLastListUos.
 */
public class LinkedQueueUos extends QueueUos
{
	/**	Construct an empty queue. <br>
		Analysis: Time = O(1) */
	public LinkedQueueUos()
	{
		rep = new LinkedLastListUos();
	}
}

⌨️ 快捷键说明

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