public enum PartType extends Enum<PartType>
Token represents a complete token
or just a part of a complete token.
| Enum Constant and Description |
|---|
COMPLETE
A given token represents a complete token.
|
END
A given token represents end part of a complete token.
|
MIDDLE
A given token represents middle part of a complete token.
|
START
A given token represents initial part of a complete token.
|
| Modifier and Type | Method and Description |
|---|---|
static PartType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartType COMPLETE
public static final PartType START
public static final PartType MIDDLE
public static final PartType END
public static PartType[] values()
public static PartType 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 null