JavaScript is disabled on your browser.
 
 
 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 12c (12.1.3)  E41664-01
 
java.lang.Object 
oracle.javatools.db.diff.ListDiffer 
 
 
 
All Implemented Interfaces: 
Differ  
 
Direct Known Subclasses: 
OrderedListDiffer  
 
 
 
public class ListDiffer 
extends java.lang.Object
implements Differ  
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.
Since:  
  10.1.3  
 
 
 
 
Constructor Summary 
Constructors    
Constructor and Description 
 
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 
Methods    
Modifier and Type 
Method and Description 
 
boolean 
diff  (java.lang.Object a,
    java.lang.Object b)
Deprecated.  
with no replacement. 
 
 
 
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 
 
 
ListDiffer 
public ListDiffer(boolean diffOrder) 
Creates a ListDiffer, optionally including ordering in the diff.
Parameters: diffOrder - if true, a reordered list will be considered a difference. 
 
 
 
 
 
Method Detail 
 
diff 
@Deprecated
public boolean diff(java.lang.Object a,
                      java.lang.Object b) 
Deprecated.  with no replacement. 
 
 
 
diff 
public boolean diff(java.lang.Object a,
           java.lang.Object b,
           ResultSet  rlist,
           DiffContext  dc) 
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.  
 
 
 
 
 
 
 
 
 
 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 12c (12.1.3)  E41664-01
 
Copyright © 1997, 2014, Oracle. All rights reserved.