public static enum BufferCompare.Mode extends java.lang.Enum<BufferCompare.Mode>
Enum Constant and Description |
---|
BINARY
The binary compare mode.
|
CASE_SENSITIVE
The case-sensitive mode.
|
DEFAULT
The default mode, aka "case-neutral".
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
Internal name
|
Modifier and Type | Method and Description |
---|---|
(package private) static BufferCompare.Mode |
fromString(character modeString)
Helper method to determine mode from a string.
|
java.lang.String |
toString()
Obtain a short description of this compare mode.
|
static BufferCompare.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BufferCompare.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BufferCompare.Mode DEFAULT
public static final BufferCompare.Mode CASE_SENSITIVE
public static final BufferCompare.Mode BINARY
public static BufferCompare.Mode[] values()
for (BufferCompare.Mode c : BufferCompare.Mode.values()) System.out.println(c);
public static BufferCompare.Mode 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 nullstatic BufferCompare.Mode fromString(character modeString)
modeString
- Text representation of a buffer compare mode.ErrorConditionException
- if the given string doesn't match a constant.public java.lang.String toString()
toString
in class java.lang.Enum<BufferCompare.Mode>