public class WeighingComparable<T,Loc> extends java.lang.Object implements java.lang.Comparable<WeighingComparable<T,Loc>>, ForceableComparable
Constructor and Description |
---|
WeighingComparable(Computable<? extends T> element,
Loc location,
Weigher<T,Loc>[] weighers) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(WeighingComparable<T,Loc> comparable) |
void |
force() |
java.lang.String |
toString() |
public void force()
force
in interface ForceableComparable
public int compareTo(WeighingComparable<T,Loc> comparable)
compareTo
in interface java.lang.Comparable<WeighingComparable<T,Loc>>
public java.lang.String toString()
toString
in class java.lang.Object