Enum LinearUnit

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<LinearUnit>

    public enum LinearUnit
    extends java.lang.Enum<LinearUnit>
    • Enum Constant Detail

      • FootUS_Survey

        public static final LinearUnit FootUS_Survey
      • FootModified_American

        public static final LinearUnit FootModified_American
      • FootClarke

        public static final LinearUnit FootClarke
      • FootIndian

        public static final LinearUnit FootIndian
      • LinkBenoit

        public static final LinearUnit LinkBenoit
      • LinkSears

        public static final LinearUnit LinkSears
      • ChainBenoit

        public static final LinearUnit ChainBenoit
      • ChainSears

        public static final LinearUnit ChainSears
      • YardSears

        public static final LinearUnit YardSears
      • YardIndian

        public static final LinearUnit YardIndian
      • MileInternationalNautical

        public static final LinearUnit MileInternationalNautical
    • Method Detail

      • values

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

        public static LinearUnit valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • code

        public int code()