#include <ArrayList.h>
Public Member Functions | |
| ArrayList () | |
| コンストラクタ | |
| ArrayList (int capacity) | |
| コンストラクタ | |
| ~ArrayList () | |
| デストラクタ | |
| void | clone (ArrayList &destination) const |
| クローン | |
| int | getCount () const |
| 要素数の取得 | |
| bool | isEmpty () const |
| 空かどうか | |
| Type & | get (int index) const |
| 要素の取得 | |
| Type & | operator[] (int index) const |
| 要素の取得 | |
| int | getCapacity () const |
| キャパシティの取得 | |
| int | indexOf (const Type &searchValue) const |
| 値の検索 | |
| int | lastIndexOf (const Type &searchValue) const |
| 後ろからの値の検索 | |
| void | add (const Type &value) |
| 要素の追加 | |
| void | set (int index, const Type &value) const |
| 要素の設定 | |
| Type | remove (int index) |
| 要素の削除 | |
| int | removeByValue (const Type &removeValue) |
| 値による要素の削除 | |
| void | clear () |
| 全要素を削除 | |
| void | clear (int capacity) |
| 全要素を削除 | |
| void | setCapacity (int newCapacity) |
| キャパシティの設定 | |
| void | trim () |
| トリム | |
| void | sort (int(*compare)(const Type *, const Type *)) |
| ソート | |
| Type * | search (Type key, int(*compare)(const Type *, const Type *)) |
| サーチ | |
このクラスは継承しないで下さい。
Definition at line 37 of file ArrayList.h.
|
||||||||||
|
コンストラクタ
Definition at line 55 of file ArrayList.h. |
|
||||||||||
|
要素の追加
Definition at line 158 of file ArrayList.h. Referenced by Lamp::Scene::getMeshList(), and Lamp::InformationRenderer::setupBone(). |
|
||||||||||
|
全要素を削除
Definition at line 217 of file ArrayList.h. |
|
||||||||||
|
クローン
Definition at line 71 of file ArrayList.h. |
|
||||||||||
|
要素の取得
Definition at line 100 of file ArrayList.h. |
|
|||||||||
|
キャパシティの取得
Definition at line 121 of file ArrayList.h. |
|
|||||||||
|
要素数の取得
Definition at line 87 of file ArrayList.h. Referenced by Lamp::InformationRenderer::setupBone(). |
|
||||||||||
|
値の検索 アレイリストの前から値を検索し、発見できればそのインデックスを返します。
Definition at line 130 of file ArrayList.h. |
|
|||||||||
|
空かどうか
Definition at line 93 of file ArrayList.h. |
|
||||||||||
|
後ろからの値の検索 アレイリストの後ろから値を検索し、発見できればそのインデックスを返します。
Definition at line 144 of file ArrayList.h. |
|
||||||||||
|
要素の取得
Definition at line 111 of file ArrayList.h. |
|
||||||||||
|
要素の削除
Definition at line 181 of file ArrayList.h. Referenced by Lamp::ArrayList< Material * >::removeByValue(). |
|
||||||||||
|
値による要素の削除 アレイリストの後ろから削除する値を検索し、同じ要素があれば削除します。
Definition at line 198 of file ArrayList.h. |
|
||||||||||||||||
|
サーチ
バイナリサーチでアレイリストを検索します。
Definition at line 277 of file ArrayList.h. |
|
||||||||||||||||
|
要素の設定
Definition at line 170 of file ArrayList.h. |
|
||||||||||
|
キャパシティの設定
Definition at line 230 of file ArrayList.h. |
|
||||||||||
|
ソート
クイックソートでアレイリストをソートします。
Definition at line 258 of file ArrayList.h. |
|
|||||||||
|
トリム 現在のサイズに合わせて使用メモリを最小にします。 Definition at line 240 of file ArrayList.h. |
1.3.2