public class NegatingComparable<T extends NegatingComparable<T>> extends java.lang.Object implements java.lang.Comparable<T>, ForceableComparable
Constructor and Description |
---|
NegatingComparable(java.lang.Comparable weigh) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(T o) |
void |
force() |
java.lang.String |
toString() |
public void force()
force
in interface ForceableComparable
public int compareTo(T o)
compareTo
in interface java.lang.Comparable<T extends NegatingComparable<T>>
public java.lang.String toString()
toString
in class java.lang.Object