copy


Description:

public Queue copy ()

Copies a this.

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.

Parameters:

this

a Queue

Returns:

a copy of this