Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0-pr
    • Labels:
      None

      Description

      Define equals()/hashCode() semantics

        Activity

        jitu created issue -
        jitu made changes -
        Field Original Value New Value
        Fix Version/s 1.0-pr [ 16133 ]
        Hide
        jitu added a comment -

        equals()/hashCode() is defined as follows:

        JsonNumber

        • BigDecimal getBigDecimal(). BigDecimal is used for equals()/hashCode()

        JsonObject

        • Map<String, JsonValue> getValues(). Map is used for equals()/hashCode()

        JsonArray

        • List<JsonValue> getValues(). List is used for equals()/hashCode()

        JsonString

        • String getString(). String is used for equals()/hashCode()

        JsonTrue/JsonFalse/JsonNull

        • JsonValueType getValueType(). The corresponding enum is used for equals()/hashCode()
        Show
        jitu added a comment - equals()/hashCode() is defined as follows: JsonNumber BigDecimal getBigDecimal(). BigDecimal is used for equals()/hashCode() JsonObject Map<String, JsonValue> getValues(). Map is used for equals()/hashCode() JsonArray List<JsonValue> getValues(). List is used for equals()/hashCode() JsonString String getString(). String is used for equals()/hashCode() JsonTrue/JsonFalse/JsonNull JsonValueType getValueType(). The corresponding enum is used for equals()/hashCode()
        jitu made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee jitu [ jitu ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            jitu
            Reporter:
            jitu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: