|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.badlogic.gdx.utils.AtomicQueue<T>
public class AtomicQueue<T>
A queue that allows one thread to call put(Object)
and another thread to call poll()
. Multiple threads must
not call these methods.
Constructor Summary | |
---|---|
AtomicQueue(int capacity)
|
Method Summary | |
---|---|
T |
poll()
|
boolean |
put(T value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AtomicQueue(int capacity)
Method Detail |
---|
public boolean put(T value)
public T poll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |