Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.javatools.db.diff
Class GenericMapDiffer

java.lang.Object
  extended by 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.


Constructor Summary
GenericMapDiffer()
           

 

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

 

Constructor Detail

GenericMapDiffer

public GenericMapDiffer()

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.