public enum TextPatternRangeEndpoint extends java.lang.Enum<TextPatternRangeEndpoint> implements INativeEnum
| Enum Constant and Description |
|---|
End
The ending endpoint of the range.
|
Start
The starting endpoint of the range.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<TextPatternRangeEndpoint> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static TextPatternRangeEndpoint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextPatternRangeEndpoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextPatternRangeEndpoint Start
public static final TextPatternRangeEndpoint End
public static TextPatternRangeEndpoint[] values()
for (TextPatternRangeEndpoint c : TextPatternRangeEndpoint.values()) System.out.println(c);
public static TextPatternRangeEndpoint valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getNativeValue()
getNativeValue in interface INativeEnumpublic java.lang.String getConstantName()
getConstantName in interface INativeEnumpublic static java.util.Optional<TextPatternRangeEndpoint> fromNativeValue(int nativeValue)