class Queue extends Object
Modifier and Type | Field and Description |
---|---|
private List |
lst
List we actually store stuff in
|
Constructor and Description |
---|
Queue() |
private final List lst
void enqueue(Object o)
Object dequeue() throws InterruptedException
InterruptedException
- if the current thread is interrupted
while the queue is waiting for an item to appearCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.