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 IDByNameComparator

java.lang.Object
  extended by oracle.javatools.db.diff.DBObjectIDComparator
      extended by oracle.javatools.db.diff.IDByNameComparator

All Implemented Interfaces:
java.util.Comparator<DBObjectID>

public class IDByNameComparator
extends DBObjectIDComparator

Comparator that compares IDs by the name stored on them (if a BaseObjectID) or failing that using the name of the object they resolve to.

Since:
11

Constructor Summary
IDByNameComparator()
           

 

Method Summary
 int compare(DBObjectID id1, DBObjectID id2)
           

 

Methods inherited from class oracle.javatools.db.diff.DBObjectIDComparator
equals

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

IDByNameComparator

public IDByNameComparator()

Method Detail

compare

public int compare(DBObjectID id1,
                   DBObjectID id2)
Specified by:
compare in interface java.util.Comparator<DBObjectID>
Overrides:
compare in class DBObjectIDComparator

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.