Package com.semedy.reasoner.utils
Class JsonComparator
java.lang.Object
com.semedy.reasoner.utils.JsonComparator
- All Implemented Interfaces:
Comparator<org.json.JSONObject>
compares two jsons
- Author:
- juergen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(org.json.JSONObject json1, org.json.JSONObject json2) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
JsonComparator
public JsonComparator()
-
-
Method Details
-
compare
public int compare(org.json.JSONObject json1, org.json.JSONObject json2) - Specified by:
compare
in interfaceComparator<org.json.JSONObject>
-