com.solarmetric.kodo.query
Class QueryImpl.QueryResultComparator
java.lang.Object
|
+--com.solarmetric.kodo.query.QueryImpl.QueryResultComparator
- All Implemented Interfaces:
- Comparator, Serializable
- Enclosing class:
- QueryImpl
- public static class QueryImpl.QueryResultComparator
- extends Object
- implements Comparator, Serializable
A Comparator implementation that performs the comparison
based on the ordering specification of the QueryImpl.
Note that the functionality of this class overlaps with
OrderExpression,
but does not require a known Expression to operate.
- See Also:
OrderExpression, Serialized Form
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryImpl.QueryResultComparator
public QueryImpl.QueryResultComparator(String[] ordering,
boolean[] ascending,
PersistenceManagerImpl pm)
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare in interface Comparator
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.