|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectjp.sourceforge.gtibuilder.util.CharArray
Char版のVectorのようなものです。
| フィールドの概要 | |
private char[] |
array
|
(パッケージプライベート) int |
arraySize
|
| コンストラクタの概要 | |
CharArray()
新しいCharArrayを作成します。 |
|
| メソッドの概要 | |
void |
add(char ch)
cahrを追加します |
void |
clear()
char配列を初期化します。 |
char |
getAt(int index)
indexにあるcharを取得します |
boolean |
isEmpty()
char配列が空かどうかを判定します |
private void |
moreBigger()
char配列を大きくします。 |
void |
removeAt(int index)
indexに存在するcharを削除します |
int |
size()
char配列の大きさを取得します |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
private char[] array
int arraySize
| コンストラクタの詳細 |
public CharArray()
| メソッドの詳細 |
public void add(char ch)
private void moreBigger()
public void clear()
public boolean isEmpty()
public void removeAt(int index)
public char getAt(int index)
public int size()
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||