File
Doc
Category
Size
Date
Package
ReverseComparator.java
API Doc
Hibernate 3.2.5
466
Sun Sep 26 00:18:28 BST 2004
org.hibernate.test.legacy
ReverseComparator
java.lang.Object
public final class ReverseComparator extends Object implements Serializable, Comparator
Fields Summary
Constructors Summary
Methods Summary
public
int
compare
(
java.lang.Object
x,
java.lang.Object
y)
return - ( (Comparable) x ).compareTo(y);
public
boolean
equals
(
java.lang.Object
obj)
return obj instanceof ReverseComparator;
public
int
hashCode
()
return 0;
Java Code Source