IQueue<TValue,TCont> 介面

定義

定義 STL/CLR 佇列物件的介面。

generic <typename TValue, typename TCont>
public interface class IQueue : ICloneable
public interface IQueue<TValue,TCont> : ICloneable
type IQueue<'Value, 'Cont> = interface
    interface ICloneable
Public Interface IQueue(Of TValue, TCont)
Implements ICloneable

類型參數

TValue

受控制序列中項目的類型。

TCont

基礎容器的類型。

實作

方法

assign(IQueue<TValue,TCont>)

以所提供之容器的內容取代容器的所有項目。

back()

存取容器的最後一個項目。

Clone()

建立目前執行個體複本的新物件。

(繼承來源 ICloneable)
empty()

判斷容器是否不含項目。

front()

存取容器的第一個項目。

get_container()

存取基礎容器。

pop()

移除容器的最後一個項目。

push(TValue)

將項目新增至容器的開頭。

size()

計算容器中的項目數目。

適用於