org.apache.tomcat.util.collections
public class Queue extends java.lang.Object
Constructor and Description |
---|
Queue()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get()
Deprecated.
Get the first object out of the queue.
|
boolean |
isEmpty()
Deprecated.
Is the queue empty?
|
java.lang.Object |
peek()
Deprecated.
Peek to see if something is available.
|
java.lang.Object |
pull()
Deprecated.
Pull the first object out of the queue.
|
void |
put(java.lang.Object object)
Deprecated.
Put the object into the queue.
|
int |
size()
Deprecated.
How many elements are there in this queue?
|
void |
stop()
Deprecated.
Break the pull(), allowing the calling thread to exit
|
public void put(java.lang.Object object)
object
- the object to be appended to the
queue.public void stop()
public java.lang.Object pull()
public java.lang.Object get()
public java.lang.Object peek()
public boolean isEmpty()
public int size()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.