Class DoubleValue

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Double value  
    • Constructor Summary

      Constructors 
      Constructor Description
      DoubleValue​(java.lang.Double value)
      Constructs a DoubleValue.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(Value<java.lang.Double> arg)  
      boolean equals​(java.lang.Object obj)  
      java.lang.Double getDouble()
      Returns a double value.
      java.lang.Double getValue()
      Returns the value.
      int hashCode()  
      void setValue​(java.lang.Double value)
      Sets the value.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • value

        protected java.lang.Double value
    • Constructor Detail

      • DoubleValue

        public DoubleValue​(java.lang.Double value)
        Constructs a DoubleValue.
        Parameters:
        value - the specified value
    • Method Detail

      • getDouble

        public java.lang.Double getDouble()
        Description copied from interface: Value
        Returns a double value.
        Specified by:
        getDouble in interface Value<java.lang.Double>
        Returns:
        double value
      • getValue

        public java.lang.Double getValue()
        Description copied from interface: Value
        Returns the value.
        Specified by:
        getValue in interface Value<java.lang.Double>
        Returns:
        the value
        See Also:
        Value.setValue(V)
      • setValue

        public void setValue​(java.lang.Double value)
        Description copied from interface: Value
        Sets the value.
        Specified by:
        setValue in interface Value<java.lang.Double>
        Parameters:
        value - the value to set
        See Also:
        Value.getValue()
      • compareTo

        public int compareTo​(Value<java.lang.Double> arg)
        Specified by:
        compareTo in interface java.lang.Comparable<Value<java.lang.Double>>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object