OHyMoS.NET Class Library

OhArrayList.removeHeadRange メソッド 

条件付きで、配列リストのインデックスが 0 から aIndex - 1 までの要素を削除します。

public virtual void removeHeadRange(
   int aIndex
);

パラメータ

aIndex
an
int
value

解説

0 から aIndex - 1 の範囲のインデックスを持つ aIndex個の要素を削除しようとします。aIndex_startIndex より小さい場合は、何もしません。 リストに格納されている要素数が 12 以上で、size()/4 より小さい場合は、削除を留保して、_startIndexaIndex に変更します。それ以外の場合は、実際に、 0 から aIndex - 1 の範囲のインデックスを持つ要 素を削除し、_startIndex を 0 に設定します。

Tries to remove the first part of the elements of this list whose index ranges from 0 to aIndex - 1. If aIndex is less than or equal to _startIndex, no elements are removed. If size() is greater than or equal to 12 and aIndex < size()/4, _startIndex is updated to aIndex. Otherwise, the elements with indexes from from 0 to aIndex - 1 are actually removed and _startIndex is updated to 0.

参照

OhArrayList クラス | OhymosNet 名前空間