db4o

QueryComparator.Compare Method 

Implement to compare two arguments for sorting.

int Compare(
   object first,
   object second
);

Remarks

Implement to compare two arguments for sorting. Return a negative value, zero, or a positive value if the first argument is smaller, equal or greater than the second.

See Also

QueryComparator Interface | com.db4o.query Namespace