|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.tinygroup.jspengine.util.Queue
public class Queue
A simple FIFO queue class which causes the calling thread to wait if the queue is empty and notifies threads that are waiting when it is not empty.
| 构造方法摘要 | |
|---|---|
Queue()
|
|
| 方法摘要 | |
|---|---|
Object |
get()
Get the first object out of the queue. |
boolean |
isEmpty()
Is the queue empty? |
Object |
peek()
Peek to see if something is available. |
Object |
pull()
Pull the first object out of the queue. |
void |
put(Object object)
Put the object into the queue. |
int |
size()
How many elements are there in this queue? |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public Queue()
| 方法详细信息 |
|---|
public void put(Object object)
object - the object to be appended to the
queue.public Object pull()
public Object get()
public Object peek()
public boolean isEmpty()
public int size()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||