Package com.db4o.query
Class JdkComparatorWrapper
- java.lang.Object
-
- com.db4o.query.JdkComparatorWrapper
-
- All Implemented Interfaces:
QueryComparator
,java.io.Serializable
public class JdkComparatorWrapper extends java.lang.Object implements QueryComparator
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JdkComparatorWrapper(java.util.Comparator comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(java.lang.Object first, java.lang.Object second)
Implement to compare two arguments for sorting.
-
-
-
Method Detail
-
compare
public int compare(java.lang.Object first, java.lang.Object second)
Description copied from interface:QueryComparator
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.- Specified by:
compare
in interfaceQueryComparator
-
-