Class Sequence

    • Constructor Detail

      • Sequence

        private Sequence​(java.lang.String name)
        Constructs an enum with the given name. The new enum is automatically added to the list returned by values().
        Parameters:
        name - The enum name. This name must not be in use by an other enum of this type.
    • Method Detail

      • values

        public static Sequence[] values()
        Returns the list of Sequences.
        Returns:
        The list of codes declared in the current JVM.
      • family

        public Sequence[] family()
        Returns the list of enumerations of the same kind than this enum.
        Specified by:
        family in class CodeList<Sequence>
        Returns:
        The codes of the same kind than this code.
      • valueOf

        public static Sequence valueOf​(java.lang.String code)
        Returns the sequence that matches the given string, or returns a new one if none match it.
        Parameters:
        code - The name of the code to fetch or to create.
        Returns:
        A code matching the given name.