語言

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

基礎容器的類型。

實作

方法

名稱 Description
assign(IQueue<TValue,TCont>)

將容器中所有元素替換為所提供容器的內容物。

back()

存取容器的最後一個元素。

Clone()

建立一個新的物件,該物件是目前實例的複製品。

(繼承來源 ICloneable)
empty()

判斷容器是否不含任何元素。

front()

存取容器的第一個元素。

get_container()

存取基礎容器。

pop()

移除容器的最後一個元素。

push(TValue)

在容器開頭加入一個元素。

size()

計算容器中元素的數量。

適用於