|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.JRcServer.commons.util.box.FlagBox
public class FlagBox
フラグ固定配列.
フラグ固定配列を管理します.
コンストラクタの概要 | |
---|---|
FlagBox()
コンストラクタ. |
|
FlagBox(int size)
コンストラクタ. |
メソッドの概要 | |
---|---|
void |
add(boolean flg,
int no)
対象要素を有効/無効に設定. |
int |
addSpace(int size)
領域を追加. |
void |
clear()
情報クリア. |
void |
create(int size)
情報生成. |
boolean |
get(int no)
対象要素を取得. |
int |
getMaxSize()
管理フラグ個数を取得. |
int |
getSearch()
有効領域を検索. |
int |
getUseSize()
有効となっているフラグ個数を取得. |
boolean |
isCreate()
利用可能チェック. |
boolean |
isData(int no)
情報存在チェック. |
int |
removeSpace(int size)
領域を削除. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public FlagBox()
public FlagBox(int size) throws InputException
size
- 管理対象のフラグ長を設定します.
InputException
- 入力例外.メソッドの詳細 |
---|
public final void create(int size) throws InputException
BaseBox
内の create
size
- 管理対象のフラグ長を設定します.
InputException
- 入力例外.public final void clear()
BaseBox
内の clear
public final int addSpace(int size)
BaseBox
内の addSpace
size
- 追加対象のサイズを設定します.
public final int removeSpace(int size)
BaseBox
内の removeSpace
size
- 削除対象のサイズを設定します.
public final void add(boolean flg, int no)
flg
- 対象の条件を設定します.no
- 設定対象の項番を設定します.public final boolean get(int no)
no
- 取得対象の要素番号を設定します.
public final int getSearch()
public final int getMaxSize()
BaseBox
内の getMaxSize
public final int getUseSize()
BaseBox
内の getUseSize
public final boolean isData(int no)
BaseBox
内の isData
no
- チェック対象の要素項番を設定します.
public final boolean isCreate()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |