Uređivanje

Dijeli putem


IQueue<TValue,TCont> Interface

Definition

Defines the interface for an STL/CLR queue object.

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

Type Parameters

TValue

The type of an element in the controlled sequence.

TCont

The type of the underlying container.

Implements

Methods

assign(IQueue<TValue,TCont>)

Replaces all elements of the container with the contents of the provided container.

back()

Accesses the last element of the container.

Clone()

Creates a new object that is a copy of the current instance.

(Inherited from ICloneable)
empty()

Determines whether the container contains no elements.

front()

Accesses the first element of the container.

get_container()

Accesses the underlying container.

pop()

Removes the last element of the container.

push(TValue)

Adds an element to the beginning of the container.

size()

Counts the number of elements in the container.

Applies to