- All Implemented Interfaces:
Serializable
,Comparable<Ascii>
,Constable
,org.refcodes.mixin.CharAccessor
,org.refcodes.mixin.CodeAccessor<Byte>
public enum Ascii
extends Enum<Ascii>
implements org.refcodes.mixin.CodeAccessor<Byte>, org.refcodes.mixin.CharAccessor
Some ASCII codes used by REFCODES.ORG artifacts.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface org.refcodes.mixin.CharAccessor
org.refcodes.mixin.CharAccessor.CharBuilder<B extends org.refcodes.mixin.CharAccessor.CharBuilder<B>>, org.refcodes.mixin.CharAccessor.CharMutator, org.refcodes.mixin.CharAccessor.CharProperty
Nested classes/interfaces inherited from interface org.refcodes.mixin.CodeAccessor
org.refcodes.mixin.CodeAccessor.CodeBuilder<T extends Object,
B extends org.refcodes.mixin.CodeAccessor.CodeBuilder<T, B>>, org.refcodes.mixin.CodeAccessor.CodeMutator<T extends Object>, org.refcodes.mixin.CodeAccessor.CodeProperty<T extends Object> -
Enum Constant Summary
Enum ConstantDescriptionASCII(6) = <ACK> "Acknowledgement"ASCII(7) = <BELL> "BEL"ASCII(24) = <CAN> "Cancel"* ASCII(16) = <DLE> Data Link EscapeASCII(25) = <EN> "End of Medium"ASCII(5) = <ENQ> "Enquiry"ASCII(4) = <EOT> "End of Transmission"ASCII(27) = <ESC> "Escape"ASCII(3) = <ETX> "End of Text"ASCII(21) = <NAK> "Negative Acknowledgement"ASCII(0) = <NULL> "Null"ASCII(1) = <SOH> "Start of Heading"ASCII(2) = <STX> "Start of Text"ASCII(22) = <SYN> "Synchronous Idle" -
Method Summary
-
Enum Constant Details
-
NULL
ASCII(0) = <NULL> "Null" -
SOH
ASCII(1) = <SOH> "Start of Heading" -
STX
ASCII(2) = <STX> "Start of Text" -
ETX
ASCII(3) = <ETX> "End of Text" -
EOT
ASCII(4) = <EOT> "End of Transmission" -
ENQ
ASCII(5) = <ENQ> "Enquiry" -
ACK
ASCII(6) = <ACK> "Acknowledgement" -
BELL
ASCII(7) = <BELL> "BEL" -
DLE
* ASCII(16) = <DLE> Data Link Escape -
NAK
ASCII(21) = <NAK> "Negative Acknowledgement" -
SYN
ASCII(22) = <SYN> "Synchronous Idle" -
CAN
ASCII(24) = <CAN> "Cancel" -
EM
ASCII(25) = <EN> "End of Medium" -
ESC
ASCII(27) = <ESC> "Escape"
-
-
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
-
getCode
- Specified by:
getCode
in interfaceorg.refcodes.mixin.CodeAccessor<Byte>
-
getChar
public char getChar()- Specified by:
getChar
in interfaceorg.refcodes.mixin.CharAccessor
-