Class PrimitiveCollectionElement


  • public class PrimitiveCollectionElement
    extends java.lang.Object
    A wrapper around a primitive value that is stored in a collection. For example, this would generate JSON that looks like this { "value": 1234 }
    • Method Detail

      • getValue

        public java.lang.Object getValue()
        Gets the value that is wrapped
        Returns:
        Value
      • equals

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

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

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