Package com.badlogic.gdx.utils
Class AtomicQueue<T>
- java.lang.Object
-
- com.badlogic.gdx.utils.AtomicQueue<T>
-
public class AtomicQueue<T> extends java.lang.Object
A queue that allows one thread to callput(Object)
and another thread to callpoll()
. Multiple threads must not call these methods.
-
-
Constructor Summary
Constructors Constructor Description AtomicQueue(int capacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
poll()
boolean
put(T value)
-