Class GenericDigits.EncodingScheme

  • All Implemented Interfaces:
    DataObject, Immutable, Serializable
    Enclosing class:
    GenericDigits

    public static final class GenericDigits.EncodingScheme
    extends NamedInteger
    Encoding scheme constants.

    The API offered by this class is as if the type were specified in ASN.1 as follows.

     EncodingScheme ::= ENUMERATED {
         BCD_EVEN (0),
         BCD_ODD  (1),
         IA5      (2),
         BINARY   (3),
         ...
     }
    See Also:
    Serialized Form
    • Method Detail

      • fromValue

        public static GenericDigits.EncodingScheme fromValue​(int value)
        Returns a EncodingScheme for a particular integer value.
        Returns:
        any known instance, or a new object
      • namedValues

        public static GenericDigits.EncodingScheme[] namedValues()
        Returns an array containing all of EncodingScheme's named numbers.
        Returns:
        a new EncodingScheme[]