Class UintValue


  • @Immutable
    public abstract class UintValue
    extends CelValue
    UintValue represents CelValue for unsigned longs. This either leverages Guava's implementation of UnsignedLong, or just holds a primitive long.
    • Constructor Detail

      • UintValue

        public UintValue()
    • Method Detail

      • value

        public abstract java.lang.Number 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
      • celType

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

        public static UintValue create​(com.google.common.primitives.UnsignedLong value)
      • create

        public static UintValue create​(long value,
                                       boolean enableUnsignedLongs)