protected static enum Tokenizer.TokenType extends Enum<Tokenizer.TokenType>
| Enum Constant and Description |
|---|
AND |
CARET |
CLOSING |
EQ |
GT |
GTE |
HYPHEN |
LT |
LTE |
OPENING |
OR |
TILDE |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isUnary() |
boolean |
supports(Semver.SemverType type) |
static Tokenizer.TokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tokenizer.TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tokenizer.TokenType TILDE
public static final Tokenizer.TokenType CARET
public static final Tokenizer.TokenType EQ
public static final Tokenizer.TokenType LT
public static final Tokenizer.TokenType LTE
public static final Tokenizer.TokenType GT
public static final Tokenizer.TokenType GTE
public static final Tokenizer.TokenType HYPHEN
public static final Tokenizer.TokenType OR
public static final Tokenizer.TokenType AND
public static final Tokenizer.TokenType OPENING
public static final Tokenizer.TokenType CLOSING
public static final Tokenizer.TokenType VERSION
public final Character character
public static Tokenizer.TokenType[] values()
for (Tokenizer.TokenType c : Tokenizer.TokenType.values()) System.out.println(c);
public static Tokenizer.TokenType 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 nullpublic boolean isUnary()
public boolean supports(Semver.SemverType type)
Copyright © 2021. All rights reserved.