Package org.everit.json.schema
Class ObjectComparator
java.lang.Object
org.everit.json.schema.ObjectComparator
Deep-equals implementation on primitive wrappers,
JSONObject and JSONArray.-
Method Summary
Modifier and TypeMethodDescriptionstatic booleandeepEquals(Object obj1, Object obj2) Deep-equals implementation on primitive wrappers,JSONObjectandJSONArray.
-
Method Details
-
deepEquals
Deep-equals implementation on primitive wrappers,JSONObjectandJSONArray.- Parameters:
obj1- the first object to be inspectedobj2- the second object to be inspected- Returns:
trueif the two objects are equal,falseotherwise
-