Enum R1Interval.Endpoint

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<R1Interval.Endpoint>
    Enclosing class:
    R1Interval

    static enum R1Interval.Endpoint
    extends java.lang.Enum<R1Interval.Endpoint>
    Designates which end of the interval to work with.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      HI
      The high end of the interval.
      LO
      The low end of the interval.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Endpoint()  
    • Constructor Detail

      • Endpoint

        private Endpoint()
    • Method Detail

      • values

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

        public static R1Interval.Endpoint 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
      • getValue

        public abstract double getValue​(R1Interval interval)
      • setValue

        public abstract void setValue​(R1Interval interval,
                                      double value)