spliterator

Returns a Spliterator over the elements in this queue.

The returned spliterator is package-summary.html#Weakly.

The Spliterator reports Spliterator.CONCURRENT, Spliterator.ORDERED, and Spliterator.NONNULL.

Return

a Spliterator over the elements in this queue

Since

1.8