Package com.badlogic.gdx.utils
Class AtomicQueue<T>
- java.lang.Object
-
- com.badlogic.gdx.utils.AtomicQueue<T>
-
public class AtomicQueue<T> extends java.lang.ObjectA 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 Tpoll()booleanput(T value)
-