public enum BracketType extends Enum<BracketType>
| Enum Constant and Description |
|---|
HISTORY_MESSAGE
Represents a special case used internally for processing history messages.
|
MAP
Denotes the use of curly brackets '{}' associated with maps.
|
NONE
Signifies that no bracketing is used.
|
SEQ
Denotes the use of square brackets '[]' typically associated with sequences or lists.
|
UNKNOWN
Indicates an unknown bracketing type.
|
| Modifier and Type | Method and Description |
|---|---|
static BracketType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BracketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BracketType UNKNOWN
public static final BracketType NONE
public static final BracketType MAP
public static final BracketType SEQ
public static final BracketType HISTORY_MESSAGE
public static BracketType[] values()
for (BracketType c : BracketType.values()) System.out.println(c);
public static BracketType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2024. All rights reserved.