Enum Ascii

  • All Implemented Interfaces:
    Serializable, Comparable<Ascii>, 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 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 Constants 
      Enum Constant Description
      ACK
      ASCII(6) = <ACK> "Acknowledgement"
      BELL
      ASCII(7) = <BELL> "BEL"
      CAN
      ASCII(24) = <CAN> "Cancel"
      DLE
      * ASCII(16) = <DLE> Data Link Escape
      EM
      ASCII(25) = <EN> "End of Medium"
      ENQ
      ASCII(5) = <ENQ> "Enquiry"
      EOT
      ASCII(4) = <EOT> "End of Transmission"
      ESC
      ASCII(27) = <ESC> "Escape"
      ETX
      ASCII(3) = <ETX> "End of Text"
      NAK
      ASCII(21) = <NAK> "Negative Acknowledgement"
      NULL
      ASCII(0) = <NULL> "Null"
      SOH
      ASCII(1) = <SOH> "Start of Heading"
      STX
      ASCII(2) = <STX> "Start of Text"
      SYN
      ASCII(22) = <SYN> "Synchronous Idle"
    • Enum Constant Detail

      • NULL

        public static final Ascii NULL
        ASCII(0) = <NULL> "Null"
      • SOH

        public static final Ascii SOH
        ASCII(1) = <SOH> "Start of Heading"
      • STX

        public static final Ascii STX
        ASCII(2) = <STX> "Start of Text"
      • ETX

        public static final Ascii ETX
        ASCII(3) = <ETX> "End of Text"
      • EOT

        public static final Ascii EOT
        ASCII(4) = <EOT> "End of Transmission"
      • ENQ

        public static final Ascii ENQ
        ASCII(5) = <ENQ> "Enquiry"
      • ACK

        public static final Ascii ACK
        ASCII(6) = <ACK> "Acknowledgement"
      • BELL

        public static final Ascii BELL
        ASCII(7) = <BELL> "BEL"
      • DLE

        public static final Ascii DLE
        * ASCII(16) = <DLE> Data Link Escape
      • NAK

        public static final Ascii NAK
        ASCII(21) = <NAK> "Negative Acknowledgement"
      • SYN

        public static final Ascii SYN
        ASCII(22) = <SYN> "Synchronous Idle"
      • CAN

        public static final Ascii CAN
        ASCII(24) = <CAN> "Cancel"
      • EM

        public static final Ascii EM
        ASCII(25) = <EN> "End of Medium"
      • ESC

        public static final Ascii ESC
        ASCII(27) = <ESC> "Escape"
    • Method Detail

      • values

        public static Ascii[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Ascii c : Ascii.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Ascii valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getCode

        public Byte getCode()
        Specified by:
        getCode in interface org.refcodes.mixin.CodeAccessor<Byte>
      • getChar

        public char getChar()
        Specified by:
        getChar in interface org.refcodes.mixin.CharAccessor