Class PrimitiveValue

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable, java.io.Serializable, java.lang.Comparable<PrimitiveValue>

    public class PrimitiveValue
    extends java.lang.Object
    implements com.google.gwt.user.client.rpc.IsSerializable, java.io.Serializable, java.lang.Comparable<PrimitiveValue>
    Stores one primitive value: Double, Long or String (null is represented as "" - NULL).

    Such a type is needed because GWT does not support serialization fields of Object or Serializable type.

    See Also:
    Serialized Form
    • Constructor Detail

      • PrimitiveValue

        public PrimitiveValue​(java.lang.Double value)
      • PrimitiveValue

        public PrimitiveValue​(java.lang.Long value)
      • PrimitiveValue

        public PrimitiveValue​(java.lang.String value)
    • Method Detail

      • toString

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

        public java.lang.Comparable<?> getComparableValue()