列挙 RegexMethod
- すべての実装されたインタフェース:
Serializable
,Comparable<RegexMethod>
,Constable
,org.thinkit.api.catalog.Catalog<RegexMethod>
public enum RegexMethod extends Enum<RegexMethod> implements org.thinkit.api.catalog.Catalog<RegexMethod>
The catalog that manages the method used to apply regular expression.
- 導入されたバージョン:
- 1.0.2
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
列挙型定数の概要
列挙定数 列挙型定数 説明 FIND
Attempts to find the next subsequence of the input sequence that matches the pattern.LOOKING_AT
Attempts to match the input sequence, starting at the beginning of the region, against the pattern.MATCHES
Attempts to match the entire region against the pattern. -
メソッドの概要
修飾子とタイプ メソッド 説明 int
getCode()
The codestatic RegexMethod
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。static RegexMethod[]
values()
この列挙型の定数を含む配列を宣言されている順序で 返します。クラスから継承されたメソッド java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
インタフェースから継承されたメソッド org.thinkit.api.catalog.Catalog
equalsByCode, toEnum
-
列挙型定数の詳細
-
FIND
Attempts to find the next subsequence of the input sequence that matches the pattern.This method starts at the beginning of this matcher's region, or, if a previous invocation of the method was successful and the matcher has not since been reset, at the first character not matched by the previous match.
-
LOOKING_AT
Attempts to match the input sequence, starting at the beginning of the region, against the pattern.Like the matches method, this method always starts at the beginning of the region; unlike that method, it does not require that the entire region be matched.
-
MATCHES
Attempts to match the entire region against the pattern.
-
-
メソッドの詳細
-
values
この列挙型の定数を含む配列を宣言されている順序で 返します。- 戻り値:
- この列挙型の定数を含む、宣言されている順序での配列
-
valueOf
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に 一致している必要があります。(余分な空白文字を含めることは できません。)- パラメータ:
name
- 返される列挙型定数の名前。- 戻り値:
- 指定した名前の列挙型定数
- 例外:
IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合
-
getCode
public int getCode()The code- 定義:
getCode
インタフェース内org.thinkit.api.catalog.Catalog<RegexMethod>
-