/** * Given two schema's checks if there exists compatibility or equality. * * @param output Set of output {@link Schema}. * @param input Set of input {@link Schema}. * @return true if and only if they are equal or compatible with constraints */ public static boolean checkSchema(Set<Schema> output, Set<Schema> input) { return findSchema(output, input) != null; }
/** * Given two schema's checks if there exists compatibility or equality. * * @param output Set of output {@link Schema}. * @param input Set of input {@link Schema}. * @return true if and only if they are equal or compatible with constraints */ public static boolean checkSchema(Set<Schema> output, Set<Schema> input) { return findSchema(output, input) != null; }
(nameOutputSchemas == null) ? null : SchemaFinder.findSchema(entryOutput.getValue(), nameOutputSchemas); schemas = SchemaFinder.findSchema(entryOutput.getValue(), anyInputSchemas);