Class SerializedPrimitive

    • Constructor Detail

      • SerializedPrimitive

        public SerializedPrimitive​(String type,
                                   String value)
        Creates a new serialized primitive POJO.
        Parameters:
        type - The type of the primitive.
        value - The value of the primitive.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • type

        public String type()
        The type of the primitive.
        Returns:
        The type of the primitive.
      • value

        public String value()
        The value of the primitive.
        Returns:
        The value of the primitive.