Class DoubleValue


  • @Immutable
    public final class DoubleValue
    extends CelValue
    DoubleValue is a simple CelValue wrapper around Java doubles.
    • Method Detail

      • value

        public java.lang.Double value()
        Description copied from class: CelValue
        The underlying value. This is typically the Java native value or a derived instance of CelValue (ex: an element in lists or key/value pair in maps).
        Specified by:
        value in class CelValue
      • doubleValue

        public double doubleValue()
      • celType

        public CelType celType()
        Description copied from class: CelValue
        The CelType that represents this value.
        Specified by:
        celType in class CelValue
      • create

        public static DoubleValue create​(double value)
      • hashCode

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object