Skip navigation links
oracle.javatools.db.diff
Class GenericMapDiffer
java.lang.Object
oracle.javatools.db.diff.GenericMapDiffer
- All Implemented Interfaces:
- Differ
-
public class GenericMapDiffer
- extends java.lang.Object
- implements Differ
Differ to diff two maps by key/value pairs.
Method Summary |
boolean |
diff(java.lang.Object a, java.lang.Object b, ResultSet r, DiffContext c)
Diff two objects and place any results in the DiffContext. |
protected ResultSet |
diffValue(java.util.Map aMap, java.util.Map bMap, java.lang.Object key, ResultSet mapRS, DiffContext c)
|
protected ResultSet |
diffValue(java.lang.Object aValue, java.lang.Object bValue, java.lang.Object key, ResultSet mapRS, DiffContext c)
|
protected java.util.Set |
getCombinedKeySet(java.util.Map aMap, java.util.Map bMap)
|
protected boolean |
ignoreKey(java.lang.Object key)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericMapDiffer
public GenericMapDiffer()
diff
public boolean diff(java.lang.Object a,
java.lang.Object b,
ResultSet r,
DiffContext c)
- Description copied from interface:
Differ
- Diff two objects and place any results in the DiffContext.
-
- Specified by:
diff
in interface Differ
-
- Returns:
- true if the diff operation has been performed by this Differ.
getCombinedKeySet
protected java.util.Set getCombinedKeySet(java.util.Map aMap,
java.util.Map bMap)
diffValue
protected ResultSet diffValue(java.util.Map aMap,
java.util.Map bMap,
java.lang.Object key,
ResultSet mapRS,
DiffContext c)
diffValue
protected ResultSet diffValue(java.lang.Object aValue,
java.lang.Object bValue,
java.lang.Object key,
ResultSet mapRS,
DiffContext c)
ignoreKey
protected boolean ignoreKey(java.lang.Object key)
Skip navigation links
Copyright © 1997, 2015, Oracle. All rights reserved.