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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(org.json.JSONObject json1, org.json.JSONObject json2) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
comparein interfaceComparator<org.json.JSONObject>
-