📄 linkedqueueuos.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 + -