Package net.bytebuddy.utility
Interface QueueFactory.Dispatcher
- Enclosing class:
QueueFactory
A dispatcher for creating an
java.util.ArrayDeque
.-
Method Summary
Modifier and TypeMethodDescription<T> Queue
<T> Creates a new array deque.<T> Queue
<T> arrayDeque
(Collection<? extends T> elements) Creates a new array deque.
-
Method Details
-
arrayDeque
Creates a new array deque.- Type Parameters:
T
- The type of the action's resolved value.- Returns:
- An array deque or
null
if this class is not supplied by the current VM.
-
arrayDeque
Creates a new array deque.- Type Parameters:
T
- The type of the action's resolved value.- Parameters:
elements
- The elements to provide to the queue constructor.- Returns:
- An array deque or
null
if this class is not supplied by the current VM.
-