]> git.argeo.org Git - gpl/argeo-slc.git/blob - legacy/org.argeo.slc.support/src/org/argeo/slc/diff/Tolerance.java
Adapt to changes in Argeo Commons
[gpl/argeo-slc.git] / legacy / org.argeo.slc.support / src / org / argeo / slc / diff / Tolerance.java
1 package org.argeo.slc.diff;
2
3 /** Compares objects, eventually using tolerance mechanisms. */
4 public interface Tolerance {
5 /**
6 * Compares objects
7 *
8 * @param key
9 * any object used to differentiate the type of data (e.g.
10 * column, path)
11 * @param expected
12 * the expected value
13 * @param reached
14 * the reached value
15 * @return the converted object
16 */
17 public Boolean compare(Object key, Object expected, Object reached);
18 }