Class JsonSchemaComparator
java.lang.Object
io.confluent.kafka.schemaregistry.json.JsonSchemaComparator
- All Implemented Interfaces:
Comparator<org.everit.json.schema.Schema>
public class JsonSchemaComparator
extends Object
implements Comparator<org.everit.json.schema.Schema>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(org.everit.json.schema.Schema schema1, org.everit.json.schema.Schema schema2) static StringgetCriterion(org.everit.json.schema.CombinedSchema schema) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
JsonSchemaComparator
public JsonSchemaComparator()
-
-
Method Details
-
compare
public int compare(org.everit.json.schema.Schema schema1, org.everit.json.schema.Schema schema2) - Specified by:
comparein interfaceComparator<org.everit.json.schema.Schema>
-
getCriterion
-