org.plasma.sdo.access.provider.common
Class DataObjectPathDepthComparator
java.lang.Object
org.plasma.sdo.access.provider.common.DataObjectPathDepthComparator
- All Implemented Interfaces:
- Comparator<DataObject>
public class DataObjectPathDepthComparator
- extends Object
- implements Comparator<DataObject>
Compares its two data-objects for path depth relative to a data-graph root.
|
Method Summary |
int |
compare(DataObject target,
DataObject source)
Returns a negative integer,
zero, or a positive integer as the first argument is less
than, equal to, or greater than the second. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataObjectPathDepthComparator
public DataObjectPathDepthComparator()
compare
public int compare(DataObject target,
DataObject source)
- Returns a negative integer,
zero, or a positive integer as the first argument is less
than, equal to, or greater than the second.
- Specified by:
compare in interface Comparator<DataObject>
Copyright © 2013. All rights reserved.