org.eigenbase.jmi
Class JmiMofIdComparator
java.lang.Object
org.eigenbase.jmi.JmiMofIdComparator
- All Implemented Interfaces:
- Comparator<RefBaseObject>
public class JmiMofIdComparator
- extends Object
- implements Comparator<RefBaseObject>
JmiMofIdComparator implements the Comparator
interface by comparing
pairs of RefBaseObject
instances according to their MOFID attribute.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/jmi/JmiMofIdComparator.java#8 $
- Author:
- John V. Sichi
instance
public static final JmiMofIdComparator instance
JmiMofIdComparator
private JmiMofIdComparator()
compare
public int compare(RefBaseObject o1,
RefBaseObject o2)
- Specified by:
compare
in interface Comparator<RefBaseObject>
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Comparator<RefBaseObject>
- Overrides:
equals
in class Object