ListQueue.from(
Iterable elements
)

Create a ListQueue containing all elements.

The elements are added to the queue, as by addLast, in the order given by elements.iterator.

All elements should be assignable to E.