Package cronapi.regex
Enum PatternFlags
- java.lang.Object
-
- java.lang.Enum<PatternFlags>
-
- cronapi.regex.PatternFlags
-
- All Implemented Interfaces:
Serializable,Comparable<PatternFlags>
public enum PatternFlags extends Enum<PatternFlags>
Enumeração que representa ...- Since:
- 2020-04-14
- Version:
- 1.0
- Author:
- Samuel Almeida
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANON_EQCASE_INSENSITIVECOMMENTSDOTALLLITERALMULTILINEUNICODE_CASEUNICODE_CHARACTER_CLASSUNIX_LINES
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract intgetValue()static PatternFlagsvalueOf(String name)Returns the enum constant of this type with the specified name.static PatternFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CASE_INSENSITIVE
public static final PatternFlags CASE_INSENSITIVE
-
MULTILINE
public static final PatternFlags MULTILINE
-
DOTALL
public static final PatternFlags DOTALL
-
UNICODE_CASE
public static final PatternFlags UNICODE_CASE
-
CANON_EQ
public static final PatternFlags CANON_EQ
-
UNIX_LINES
public static final PatternFlags UNIX_LINES
-
LITERAL
public static final PatternFlags LITERAL
-
UNICODE_CHARACTER_CLASS
public static final PatternFlags UNICODE_CHARACTER_CLASS
-
COMMENTS
public static final PatternFlags COMMENTS
-
-
Method Detail
-
values
public static PatternFlags[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PatternFlags c : PatternFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PatternFlags valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public abstract int getValue()
-
-