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

📄 linkedstackuos.java

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

package dslib.dispenser;

import dslib.list.LinkedSimpleListUos;

/**	An implementation of StackUos that uses a LinkedSimpleListUos to store the items.  Item refers
	to the top item of the stack, and it can be deleted.  There are also methods to insert
	items and check for empty.  */
public class LinkedStackUos extends StackUos
{
	/**	Construct an empty stack. <br>
		Analysis: Time = O(1) */
	public LinkedStackUos()
	{
		rep = new LinkedSimpleListUos();
	}
}

⌨️ 快捷键说明

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