Operations.dumpDiff(this.getSubPropertyChains(), other.getSubPropertyChains(), writer, root + ": this sub-property not in other: "); Operations.dumpDiff(other.getSubPropertyChains(), this.getSubPropertyChains(), writer, root + ": other sub-property not in this: "); Operations.dumpDiff(this.getNonRedundantCompositionsByLeftSubProperty(), other.getNonRedundantCompositionsByLeftSubProperty(), writer, root + ": this non-redundant left composition not in other: "); Operations.dumpDiff(this.getRedundantCompositionsByLeftSubProperty(), other.getRedundantCompositionsByLeftSubProperty(), writer, root + ": this redundant left composition not in other: "); Operations.dumpDiff(other.getNonRedundantCompositionsByLeftSubProperty(), this.getNonRedundantCompositionsByLeftSubProperty(), writer, root + ": other non-redundant left composition not in this: "); Operations.dumpDiff(other.getRedundantCompositionsByLeftSubProperty(), this.getRedundantCompositionsByLeftSubProperty(), writer, root + ": other redundant left composition not in this: "); Operations.dumpDiff(this.getNonRedundantCompositionsByRightSubProperty(), other.getNonRedundantCompositionsByRightSubProperty(), writer, root + ": this non-redundant right composition not in other: "); Operations.dumpDiff(this.getRedundantCompositionsByRightSubProperty(), other.getRedundantCompositionsByRightSubProperty(), writer, root + ": this redundant right composition not in other: "); Operations.dumpDiff(other.getNonRedundantCompositionsByRightSubProperty(), this.getNonRedundantCompositionsByRightSubProperty(), writer, root + ": other non-redundant right composition not in this: "); Operations.dumpDiff(other.getRedundantCompositionsByRightSubProperty(),
Operations.dumpDiff(this.getSubPropertyChains(), other.getSubPropertyChains(), writer, root + ": this sub-property not in other: "); Operations.dumpDiff(other.getSubPropertyChains(), this.getSubPropertyChains(), writer, root + ": other sub-property not in this: "); Operations.dumpDiff(this.getNonRedundantCompositionsByLeftSubProperty(), other.getNonRedundantCompositionsByLeftSubProperty(), writer, root + ": this non-redundant left composition not in other: "); Operations.dumpDiff(this.getRedundantCompositionsByLeftSubProperty(), other.getRedundantCompositionsByLeftSubProperty(), writer, root + ": this redundant left composition not in other: "); Operations.dumpDiff(other.getNonRedundantCompositionsByLeftSubProperty(), this.getNonRedundantCompositionsByLeftSubProperty(), writer, root + ": other non-redundant left composition not in this: "); Operations.dumpDiff(other.getRedundantCompositionsByLeftSubProperty(), this.getRedundantCompositionsByLeftSubProperty(), writer, root + ": other redundant left composition not in this: "); Operations.dumpDiff(this.getNonRedundantCompositionsByRightSubProperty(), other.getNonRedundantCompositionsByRightSubProperty(), writer, root + ": this non-redundant right composition not in other: "); Operations.dumpDiff(this.getRedundantCompositionsByRightSubProperty(), other.getRedundantCompositionsByRightSubProperty(), writer, root + ": this redundant right composition not in other: "); Operations.dumpDiff(other.getNonRedundantCompositionsByRightSubProperty(), this.getNonRedundantCompositionsByRightSubProperty(), writer, root + ": other non-redundant right composition not in this: "); Operations.dumpDiff(other.getRedundantCompositionsByRightSubProperty(),
Operations.dumpDiff(this.getSubPropertyChains(), other.getSubPropertyChains(), writer, root + ": this sub-property not in other: "); Operations.dumpDiff(other.getSubPropertyChains(), this.getSubPropertyChains(), writer, root + ": other sub-property not in this: "); Operations.dumpDiff(this.getNonRedundantCompositionsByLeftSubProperty(), other.getNonRedundantCompositionsByLeftSubProperty(), writer, root + ": this non-redundant left composition not in other: "); Operations.dumpDiff(this.getRedundantCompositionsByLeftSubProperty(), other.getRedundantCompositionsByLeftSubProperty(), writer, root + ": this redundant left composition not in other: "); Operations.dumpDiff(other.getNonRedundantCompositionsByLeftSubProperty(), this.getNonRedundantCompositionsByLeftSubProperty(), writer, root + ": other non-redundant left composition not in this: "); Operations.dumpDiff(other.getRedundantCompositionsByLeftSubProperty(), this.getRedundantCompositionsByLeftSubProperty(), writer, root + ": other redundant left composition not in this: "); Operations.dumpDiff(this.getNonRedundantCompositionsByRightSubProperty(), other.getNonRedundantCompositionsByRightSubProperty(), writer, root + ": this non-redundant right composition not in other: "); Operations.dumpDiff(this.getRedundantCompositionsByRightSubProperty(), other.getRedundantCompositionsByRightSubProperty(), writer, root + ": this redundant right composition not in other: "); Operations.dumpDiff(other.getNonRedundantCompositionsByRightSubProperty(), this.getNonRedundantCompositionsByRightSubProperty(), writer, root + ": other non-redundant right composition not in this: "); Operations.dumpDiff(other.getRedundantCompositionsByRightSubProperty(),
/** * Prints key-value entries present in the first {@link Multimap} but not in * the second {@link Multimap} using the given {@link Writer} and prefixing * all messages with a given prefix. * * @param first * @param second * @param writer * @param prefix * @throws IOException */ public static <K, V> void dumpDiff(Multimap<K, V> first, Multimap<K, V> second, Writer writer, String prefix) throws IOException { for (K key : first.keySet()) { Collection<V> firstValues = first.get(key); Collection<V> secondValues = second.get(key); dumpDiff(firstValues, secondValues, writer, prefix + key + "->"); } }
/** * Prints key-value entries present in the first {@link Multimap} but not in * the second {@link Multimap} using the given {@link Writer} and prefixing * all messages with a given prefix. * * @param first * @param second * @param writer * @param prefix * @throws IOException */ public static <K, V> void dumpDiff(Multimap<K, V> first, Multimap<K, V> second, Writer writer, String prefix) throws IOException { for (K key : first.keySet()) { Collection<V> firstValues = first.get(key); Collection<V> secondValues = second.get(key); dumpDiff(firstValues, secondValues, writer, prefix + key + "->"); } }
/** * Prints key-value entries present in the first {@link Multimap} but not in * the second {@link Multimap} using the given {@link Writer} and prefixing * all messages with a given prefix. * * @param first * @param second * @param writer * @param prefix * @throws IOException */ public static <K, V> void dumpDiff(Multimap<K, V> first, Multimap<K, V> second, Writer writer, String prefix) throws IOException { for (K key : first.keySet()) { Collection<V> firstValues = first.get(key); Collection<V> secondValues = second.get(key); dumpDiff(firstValues, secondValues, writer, prefix + key + "->"); } }