|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.sf.tatooine.gtx.LoopRange
public class LoopRange
LoopRange.
| フィールドの概要 | |
|---|---|
static java.util.regex.Pattern |
PTN_A_LEN
a, b. |
static java.util.regex.Pattern |
PTN_N
n. |
static java.util.regex.Pattern |
PTN_S2E1
a..b. |
static java.util.regex.Pattern |
PTN_S2E2
a...b. |
| コンストラクタの概要 | |
|---|---|
LoopRange(int begin,
int end)
LoopRangeを構築する. |
|
LoopRange(int begin,
int end,
int step)
LoopRangeを構築する. |
|
| メソッドの概要 | |
|---|---|
int |
getBegin()
開始値を返す. |
int |
getEnd()
終了値を返す. |
int |
getNext(int index)
次のインデックス値を取得する. |
static LoopRange |
parse(java.lang.String value)
LoopRangeオブジェクトを生成する. |
void |
setBegin(int begin)
開始値を設定する. |
void |
setEnd(int end)
終了値を設定する. |
void |
setStep(int step)
刻み値を設定する. |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final java.util.regex.Pattern PTN_N
public static final java.util.regex.Pattern PTN_S2E1
public static final java.util.regex.Pattern PTN_S2E2
public static final java.util.regex.Pattern PTN_A_LEN
| コンストラクタの詳細 |
|---|
public LoopRange(int begin,
int end)
LoopRangeを構築する.
begin - 開始値end - 終了値
public LoopRange(int begin,
int end,
int step)
LoopRangeを構築する.
begin - 開始値end - 終了値step - 刻み値| メソッドの詳細 |
|---|
public final int getBegin()
public final void setBegin(int begin)
begin - 開始値public final int getEnd()
public final void setEnd(int end)
end - 終了値public final void setStep(int step)
step - 刻み値public final int getNext(int index)
index - 現在のインデックス
public static LoopRange parse(java.lang.String value)
throws LoopRangeSyntaxException
LoopRangeオブジェクトを生成する.
value - ループの範囲を表す式
LoopRangeオブジェクト
LoopRangeSyntaxException - 構文エラー時に送出される。
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||