copy

fun copy(): Queue

Copies a @queue. Note that is a shallow copy. If the elements in the queue consist of pointers to data, the pointers are copied, but the actual data is not.

Return

a copy of @queue

Since

2.4