|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.db.diff.DiffEngine
public final class DiffEngine
Engine that can diff two objects and return the results.
Constructor Summary | |
---|---|
DiffEngine() |
|
DiffEngine(boolean allowMultipleDiffers) |
|
DiffEngine(DiffEngine existing) Create a new diff engine with the same differs as an existing one |
Method Summary | ||
---|---|---|
void |
cancelDiff() |
|
void |
checkProgress() |
|
DiffEngine |
copy() Creates a copy of this diff engine with all the same comparators and differs registered. |
|
DiffContext |
diff(java.util.List a, java.util.List b, ResultSet r, DiffContext dc) Diff the given object lists with the prepared context. |
|
DiffContext |
diff(java.lang.Object[] a, java.lang.Object[] b) Diff the given objects. |
|
DiffContext |
diff(java.lang.Object[] a, java.lang.Object[] b, ResultSet r) Diff the given object arrays. |
|
DiffContext |
diff(java.lang.Object[] a, java.lang.Object[] b, ResultSet r, DiffContext dc) Diff the given object arrays with the prepared context. |
|
DiffContext |
diff(java.lang.Object a, java.lang.Object b) Diff the given objects. |
|
DiffContext |
diff(java.lang.Object a, java.lang.Object b, ResultSet r, DiffContext dc) Diff the given objects with the prepared context. |
|
java.util.Comparator |
getComparator(java.lang.Class type) |
|
void |
registerComparator(java.util.Comparator cmp, java.lang.Class c) Registers a Comparator for a given object type. |
|
void |
registerDiffer(Differ d, java.lang.Class c) Registers a given Differ implementation with an object type (to be used by only this DiffEngine instance) |
|
void |
registerListDiffer(Differ d, java.lang.Class c) Registers a given Differ implementation with a List of object type (to be used by only this DiffEngine instances) |
|
static
|
searchMap(java.util.Map<java.lang.Class,T> map, java.lang.Class type) Iteratively searchs a map of classes to <T> for the given class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiffEngine()
public DiffEngine(boolean allowMultipleDiffers)
public DiffEngine(DiffEngine existing)
Method Detail |
---|
public DiffContext diff(java.lang.Object a, java.lang.Object b)
public DiffContext diff(java.lang.Object[] a, java.lang.Object[] b)
public DiffContext diff(java.lang.Object a, java.lang.Object b, ResultSet r, DiffContext dc)
public DiffContext diff(java.lang.Object[] a, java.lang.Object[] b, ResultSet r)
public DiffContext diff(java.lang.Object[] a, java.lang.Object[] b, ResultSet r, DiffContext dc)
public DiffContext diff(java.util.List a, java.util.List b, ResultSet r, DiffContext dc)
public void registerDiffer(Differ d, java.lang.Class c)
public void registerListDiffer(Differ d, java.lang.Class c)
public void registerComparator(java.util.Comparator cmp, java.lang.Class c)
public static <T> T searchMap(java.util.Map<java.lang.Class,T> map, java.lang.Class type)
public java.util.Comparator getComparator(java.lang.Class type)
public void checkProgress()
public void cancelDiff()
public DiffEngine copy()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |