Do tou use this:
// Bad Code
public class Stuff implements Comparable{
@Override
public int compareTo(Object o) {
// TODO
return ...
}
}
or this?
// GoodCode
public class Stuff implements Comparable{
@Override
public int compareTo(Stuff o) {
// TODO
return ...
}
}