|
Ds\PriorityQueue::copyReturns a shallow copy of the queue 説明
public Ds\PriorityQueue Ds\PriorityQueue::copy()
Returns a shallow copy of the queue. パラメータこの関数にはパラメータはありません。 戻り値Returns a shallow copy of the queue. 例例1 Ds\PriorityQueue::copy example 上の例の出力は、 たとえば以下のようになります。
Ds\PriorityQueue Object
(
[0] => b
[1] => c
[2] => a
)
|