Package dev.blaauwendraad.masker
Enum Class AsciiCharacter
- All Implemented Interfaces:
Serializable,Comparable<AsciiCharacter>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbytestatic booleanisColon(byte inputByte) static booleanisDoubleQuote(byte inputByte) static booleanisEscapeCharacter(byte inputByte) static booleanisLowercaseU(byte inputByte) static bytetoAsciiByteValue(int digit) static AsciiCharacterReturns the enum constant of this class with the specified name.static AsciiCharacter[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ASTERISK
-
BACK_SLASH
-
CARRIAGE_RETURN
-
COLON
-
COMMA
-
CURLY_BRACKET_OPEN
-
DOUBLE_QUOTE
-
HORIZONTAL_TAB
-
LINE_FEED
-
LOWERCASE_E
-
MINUS
-
PERIOD
-
PLUS
-
SPACE
-
SQUARE_BRACKET_OPEN
-
UPPERCASE_E
-
LOWERCASE_F
-
LOWERCASE_N
-
LOWERCASE_T
-
LOWERCASE_U
-
ZERO
-
ONE
-
TWO
-
THREE
-
FOUR
-
FIVE
-
SIX
-
SEVEN
-
EIGHT
-
NINE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toAsciiByteValue
public static byte toAsciiByteValue(int digit) -
isDoubleQuote
public static boolean isDoubleQuote(byte inputByte) -
isEscapeCharacter
public static boolean isEscapeCharacter(byte inputByte) -
isLowercaseU
public static boolean isLowercaseU(byte inputByte) -
isColon
public static boolean isColon(byte inputByte) -
getAsciiByteValue
public byte getAsciiByteValue()
-