IDeque<TValue> インターフェイス
定義
STL/CLR deque
オブジェクトのインターフェイスを定義します。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)
型パラメーター
- TValue
格納されている型。The type that is contained.
- 実装
注釈
いくつかのメソッド (特に演算子など) では、パラメーター名を特定せずに、パラメーターの型を宣言します。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. これらのメソッドに関するドキュメントでは、 __unnamed0 は無名パラメーターを表すプレースホルダーです。In the documentation for these methods, the __unnamed0 placeholder represents the unnamed parameter.
詳細については、「 deque (STL/CLR)」を参照してください。For more information, see deque (STL/CLR).
プロパティ
back_item |
空でない |
Count |
ICollection に格納されている要素の数を取得します。Gets the number of elements contained in the ICollection. (継承元 ICollection) |
front_item |
空でない |
IsSynchronized |
ICollection へのアクセスが同期されている (スレッド セーフである) かどうかを示す値を取得します。Gets a value indicating whether access to the ICollection is synchronized (thread safe). (継承元 ICollection) |
Item[Int32] |
コンテナー内の指定した位置にある要素を取得または設定します。Gets or sets the element at the indicated position in the container. |
SyncRoot |
ICollection へのアクセスを同期するために使用できるオブジェクトを取得します。Gets an object that can be used to synchronize access to the ICollection. (継承元 ICollection) |
メソッド
assign(IEnumerable) |
コンテナーのすべての要素を、指定した IEnumerable オブジェクト内の要素で置き換えます。Replaces all elements of the container with the elements in the given IEnumerable object. |
assign(IInputIterator<TValue>, IInputIterator<TValue>) |
コンテナーのすべての要素を、指定した IInputIterator<TValue> オブジェクトで指定される要素で置き換えます。Replaces all elements of the container with the elements specified by the given IInputIterator<TValue> objects. |
assign(Int32, TValue) |
コンテナーのすべての要素を、指定した数の指定した要素で置き換えます。Replaces all elements of the container with the given number of specified elements. |
at(Int32) |
コンテナー内の指定した位置にある要素にアクセスします。Accesses an element at a specified position in the container. |
at_bias(Int32) |
コンテナーの現在のバイアスにある要素を取得します。Gets the element at the current bias of the container. バイアスとは、現在の要素ゼロを基準としたオフセットです。The bias is the offset from the current element zero. (継承元 IRandomAccessContainer<TValue>) |
back() |
コンテナーの最後の要素にアクセスします。Accesses the last element of the container. |
begin(ContainerRandomAccessIterator<TValue>) |
被制御シーケンスの先頭を指定します。Designates the beginning of the controlled sequence. |
begin_bias() |
現在のシーケンスの先頭のバイアスを取得します。Gets the bias of the beginning of the current sequence. バイアスとは、現在の要素ゼロを基準としたオフセットです。The bias is the offset of the current element zero. |
clear() |
コンテナー内のすべての要素を削除します。Removes all elements in the container. |
Clone() |
現在のインスタンスのコピーである新しいオブジェクトを作成します。Creates a new object that is a copy of the current instance. (継承元 ICloneable) |
CopyTo(Array, Int32) |
ICollection の要素を Array にコピーします。Array の特定のインデックスからコピーが開始されます。Copies the elements of the ICollection to an Array, starting at a particular Array index. (継承元 ICollection) |
empty() |
コンテナーが要素を保持していないかどうかをテストします。Tests whether the container holds no elements. |
end(ContainerRandomAccessIterator<TValue>) |
被制御シーケンスの末尾を指定します。Designates the end of the controlled sequence. |
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>) |
指定した位置にある要素を削除します。Removes the element at the specified position. |
erase(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>) |
指定した反復子間の要素を削除します。Removes the elements between the specified iterators. |
front() |
コンテナーの最初の要素にアクセスします。Accesses the first element of the container. |
get_generation() |
基になるコンテナーの現在の変更ジェネレーションを取得します。Gets the current change generation of the underlying container. |
GetEnumerator() |
コレクションを反復処理する列挙子を返します。Returns an enumerator that iterates through a collection. (継承元 IEnumerable) |
insert(ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, TValue) |
コンテナー内の指定した位置に要素を追加します。Adds an element at a specified position in the container. |
insert(ContainerRandomAccessIterator<TValue>, IEnumerable) |
コンテナー内の指定した位置に要素を追加します。Adds elements at a specified position in the container. |
insert(ContainerRandomAccessIterator<TValue>, IInputIterator<TValue>, IInputIterator<TValue>) |
コンテナー内の指定した位置に要素を追加します。Adds elements at a specified position in the container. |
insert(ContainerRandomAccessIterator<TValue>, Int32, TValue) |
コンテナー内の指定した位置に要素を追加します。Adds an element at a specified position in the container. |
pop_back() |
空でないコンテナーの最後の要素を削除します。Removes the last element of a non-empty container. |
pop_front() |
空でないコンテナーの最初の要素を削除します。Removes the first element of a non-empty container. |
push_back(TValue) |
コンテナーの末尾に要素を追加します。Adds an element to the end of a container. |
push_front(TValue) |
コンテナーの先頭に要素を追加します。Adds an element to the beginning of a container. |
rbegin(ReverseRandomAccessIterator<TValue>) |
反転被制御シーケンスの先頭を指定します。Designates the beginning of the reversed controlled sequence. |
rend(ReverseRandomAccessIterator<TValue>) |
反転被制御シーケンスの末尾を指定します。Designates the end of the reversed controlled sequence. |
resize(Int32) |
要素の数を変更します。Changes the number of elements. |
resize(Int32, TValue) |
要素の数を変更します。Changes the number of elements. |
size() |
要素の数をカウントします。Counts the number of elements. |
swap(IDeque<TValue>) |
2 つのコンテナーのコンテンツを交換します。Swaps the contents of two containers. |
valid_bias(Int32) |
指定のバイアスがコンテナーで有効であることを確認します。Determines if a given bias is valid for the container. バイアスとは、現在の要素ゼロを基準としたオフセットです。The bias is the offset from the current element zero. (継承元 IRandomAccessContainer<TValue>) |
拡張メソッド
Cast<TResult>(IEnumerable) |
IEnumerable の要素を、指定した型にキャストします。Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
指定された型に基づいて IEnumerable の要素をフィルター処理します。Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
クエリの並列化を有効にします。Enables parallelization of a query. |
AsQueryable(IEnumerable) |
IEnumerable を IQueryable に変換します。Converts an IEnumerable to an IQueryable. |