Enum Versions

    • Enum Constant Detail

      • v_7_0_0

        public static final Versions v_7_0_0
    • Method Detail

      • values

        public static Versions[] 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 (Versions c : Versions.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Versions 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
      • check

        public static void check​(int formatNumber,
                                 Versions min,
                                 Versions max)
      • checkMin

        public static void checkMin​(int formatNumber,
                                    Versions min)
      • checkMax

        public static void checkMax​(int formatNumber,
                                    Versions max)
      • getNumber

        public int getNumber()
        Specified by:
        getNumber in interface Version
      • getLatest

        public static Version getLatest()
      • getOldest

        public static Version getOldest()
      • byNumber

        public static Version byNumber​(int number)