|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--util.SimpleQueue
A multithreaded queue
| Field Summary | |
private LinkedList |
queue
|
private static long |
serialVersionUID
|
| Constructor Summary | |
SimpleQueue()
|
|
| Method Summary | |
Object |
dequeue()
Returns the item at the bottom of the queue. |
void |
enqueue(Object o)
Enqueues the specified object. |
boolean |
isEmpty()
Returns whether the queue is currently empty. |
int |
size()
Returns the number of items currently in the queue. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
private final LinkedList queue
| Constructor Detail |
public SimpleQueue()
| Method Detail |
public void enqueue(Object o)
enqueue in interface Queuepublic Object dequeue()
dequeue in interface Queuepublic boolean isEmpty()
Queue
isEmpty in interface Queuepublic int size()
Queue
size in interface Queuepublic String toString()
toString in class Object
|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||