|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.db.diff.ListDiffer
public class ListDiffer
Differ of lists that uses the Comparators registered with the underlying DiffEngine to compare elements in the two lists to assess whether the contents are different. Ordering is optionally included in the diff by using the constructor argument.
Constructor Summary | |
---|---|
ListDiffer() Creates a ListDiffer that doesn't diff order, just contents. |
|
ListDiffer(boolean diffOrder) Creates a ListDiffer, optionally including ordering in the diff. |
Method Summary | |
---|---|
boolean |
diff(java.lang.Object a, java.lang.Object b) |
boolean |
diff(java.lang.Object a, java.lang.Object b, ResultSet rlist, DiffContext dc) Diff two objects and place any results in the DiffContext. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListDiffer()
public ListDiffer(boolean diffOrder)
diffOrder
- if true, a reordered list will be considered a difference.Method Detail |
---|
public boolean diff(java.lang.Object a, java.lang.Object b)
public boolean diff(java.lang.Object a, java.lang.Object b, ResultSet rlist, DiffContext dc)
Differ
diff
in interface Differ
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |