IDeque<TValue> IDeque<TValue> IDeque<TValue> IDeque<TValue> Interface

Definition

Defines the interface of an STL/CLR deque object.

generic <typename TValue>
public interface class IDeque : ICloneable, Microsoft::VisualC::StlClr::Generic::IRandomAccessContainer<TValue>, System::Collections::ICollection
public interface IDeque<TValue> : ICloneable, Microsoft.VisualC.StlClr.Generic.IRandomAccessContainer<TValue>, System.Collections.ICollection
type IDeque<'Value> = interface
    interface IRandomAccessContainer<'Value>
    interface ICloneable
    interface ICollection
    interface IEnumerable
Public Interface IDeque(Of TValue)
Implements ICloneable, ICollection, IRandomAccessContainer(Of TValue)

Type Parameters

TValue

The type that is contained.

Implements

Remarks

Some methods, especially operators, declare a type for a parameter but do not specify a parameter name. Such a parameter is known as an unnamed parameter. In the documentation for these methods, the __unnamed0 placeholder represents the unnamed parameter.

For more information, see deque (STL/CLR).

Properties

back_item back_item back_item back_item

Accesses the last element of a non-empty deque collection.

Count Count Count Count

Gets the number of elements contained in the ICollection.

(Inherited from ICollection)
front_item front_item front_item front_item

Accesses the first element of a non-empty deque collection.

IsSynchronized IsSynchronized IsSynchronized IsSynchronized

Gets a value indicating whether access to the ICollection is synchronized (thread safe).

(Inherited from ICollection)
Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets or sets the element at the indicated position in the container.

SyncRoot SyncRoot SyncRoot SyncRoot

Gets an object that can be used to synchronize access to the ICollection.

(Inherited from ICollection)

Methods

assign(IEnumerable) assign(IEnumerable) assign(IEnumerable) assign(IEnumerable)

Replaces all elements of the container with the elements in the given IEnumerable object.

assign(IInputIterator<TValue>, IInputIterator<TValue>) assign(IInputIterator<TValue>, IInputIterator<TValue>) assign(IInputIterator<TValue>, IInputIterator<TValue>) assign(IInputIterator<TValue>, IInputIterator<TValue>)

Replaces all elements of the container with the elements specified by the given IInputIterator<TValue> objects.

assign(Int32, TValue) assign(Int32, TValue) assign(Int32, TValue) assign(Int32, TValue)

Replaces all elements of the container with the given number of specified elements.

at(Int32) at(Int32) at(Int32) at(Int32)

Accesses an element at a specified position in the container.

at_bias(Int32) at_bias(Int32) at_bias(Int32) at_bias(Int32)

Gets the element at the current bias of the container. The bias is the offset from the current element zero.

(Inherited from IRandomAccessContainer<TValue>)
back() back() back() back()

Accesses the last element of the container.

begin(ContainerRandomAccessIterator<TValue>) begin(ContainerRandomAccessIterator<TValue>) begin(ContainerRandomAccessIterator<TValue>) begin(ContainerRandomAccessIterator<TValue>)

Designates the beginning of the controlled sequence.

begin_bias() begin_bias() begin_bias() begin_bias()

Gets the bias of the beginning of the current sequence. The bias is the offset of the current element zero.

clear() clear() clear() clear()

Removes all elements in the container.

Clone() Clone() Clone() Clone()

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

(Inherited from ICloneable)
CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

(Inherited from ICollection)
empty() empty() empty() empty()

Tests whether the container holds no elements.

end(ContainerRandomAccessIterator<TValue>) end(ContainerRandomAccessIterator<TValue>) end(ContainerRandomAccessIterator<TValue>) end(ContainerRandomAccessIterator<TValue>)

Designates the end of the controlled sequence.

end_bias() end_bias() end_bias() end_bias()

Gets the bias of the end of the current sequence. The bias is the offset of the current element zero.

erase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>) erase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>) erase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>) erase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>)

Removes the element at the specified position.

erase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>) erase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>) erase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>) erase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>)

Removes the elements between the specified iterators.

front() front() front() front()

Accesses the first element of the container.

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through a collection.

(Inherited from IEnumerable)
get_generation() get_generation() get_generation() get_generation()

Gets the current change generation of the underlying container.

insert(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, TValue) insert(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, TValue) insert(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, TValue) insert(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, TValue)

Adds an element at a specified position in the container.

insert(ContainerRandomAccessIterator<TValue>, IEnumerable) insert(ContainerRandomAccessIterator<TValue>, IEnumerable) insert(ContainerRandomAccessIterator<TValue>, IEnumerable) insert(ContainerRandomAccessIterator<TValue>, IEnumerable)

Adds elements at a specified position in the container.

insert(ContainerRandomAccessIterator<TValue>, IInputIterator<TValue>, IInputIterator<TValue>) insert(ContainerRandomAccessIterator<TValue>, IInputIterator<TValue>, IInputIterator<TValue>) insert(ContainerRandomAccessIterator<TValue>, IInputIterator<TValue>, IInputIterator<TValue>) insert(ContainerRandomAccessIterator<TValue>, IInputIterator<TValue>, IInputIterator<TValue>)

Adds elements at a specified position in the container.

insert(ContainerRandomAccessIterator<TValue>, Int32, TValue) insert(ContainerRandomAccessIterator<TValue>, Int32, TValue) insert(ContainerRandomAccessIterator<TValue>, Int32, TValue) insert(ContainerRandomAccessIterator<TValue>, Int32, TValue)

Adds an element at a specified position in the container.

pop_back() pop_back() pop_back() pop_back()

Removes the last element of a non-empty container.

pop_front() pop_front() pop_front() pop_front()

Removes the first element of a non-empty container.

push_back(TValue) push_back(TValue) push_back(TValue) push_back(TValue)

Adds an element to the end of a container.

push_front(TValue) push_front(TValue) push_front(TValue) push_front(TValue)

Adds an element to the beginning of a container.

rbegin(ReverseRandomAccessIterator<TValue>) rbegin(ReverseRandomAccessIterator<TValue>) rbegin(ReverseRandomAccessIterator<TValue>) rbegin(ReverseRandomAccessIterator<TValue>)

Designates the beginning of the reversed controlled sequence.

rend(ReverseRandomAccessIterator<TValue>) rend(ReverseRandomAccessIterator<TValue>) rend(ReverseRandomAccessIterator<TValue>) rend(ReverseRandomAccessIterator<TValue>)

Designates the end of the reversed controlled sequence.

resize(Int32) resize(Int32) resize(Int32) resize(Int32)

Changes the number of elements.

resize(Int32, TValue) resize(Int32, TValue) resize(Int32, TValue) resize(Int32, TValue)

Changes the number of elements.

size() size() size() size()

Counts the number of elements.

swap(IDeque<TValue>) swap(IDeque<TValue>) swap(IDeque<TValue>) swap(IDeque<TValue>)

Swaps the contents of two containers.

valid_bias(Int32) valid_bias(Int32) valid_bias(Int32) valid_bias(Int32)

Determines if a given bias is valid for the container. The bias is the offset from the current element zero.

(Inherited from IRandomAccessContainer<TValue>)

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to