Constructor and Description |
---|
SimpleQueue()
Deprecated.
|
SimpleQueue(int size,
Object o)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
dequeue()
Deprecated.
|
void |
enqueue(Object o)
Deprecated.
|
boolean |
getBlocking()
Deprecated.
|
boolean |
getGrow()
Deprecated.
|
int |
getSize()
Deprecated.
|
int |
getWaitingThreads()
Deprecated.
|
void |
setBlocking(boolean block)
Deprecated.
|
void |
setGrow(boolean grow)
Deprecated.
|
public SimpleQueue()
public SimpleQueue(int size, Object o)
public void setBlocking(boolean block)
public boolean getBlocking()
public void setGrow(boolean grow)
public boolean getGrow()
public int getWaitingThreads()
public void enqueue(Object o)
public Object dequeue() throws InterruptedException
InterruptedException
public int getSize()
© 1998- 2021 Escenic AS