Class ArrayQueue<E>
java.lang.Object
com.oracle.truffle.runtime.collection.ArrayQueue<E>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ArrayQueue
public ArrayQueue()
-
-
Method Details
-
add
-
poll
-
peek
-
clear
public void clear() -
size
public int size() -
toArray
-
toArray
public <T> T[] toArray(T[] a) -
internalCapacity
public int internalCapacity() -
addIndexOf
-
indexOf
Returns the position in the pool, or -1 if the element is not present.
-