Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 2.5.8 generated on January 11 2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`QueryImpl.QueryResultComparator(String[] ordering, boolean[] ascending, PersistenceManagerImpl pm)`

Method Summary
`int` | `compare(Object o1, Object o2)`

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

Methods inherited from interface java.util.Comparator
`equals`

Constructor Detail

### QueryImpl.QueryResultComparator

    public QueryImpl.QueryResultComparator(String[] ordering,
                                           boolean[] ascending,
                                           PersistenceManagerImpl pm)

Method Detail

### compare

    public int compare(Object o1,
                       Object o2)

  Specified by:
    `compare` in interface `Comparator`

Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 2.5.8 generated on January 11 2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.