Idk??? there is no this there.
Type: Posts; User: gtrankle
Idk??? there is no this there.
error at 28
This compiles and runs well:
public class IntegerTest implements Comparator<Integer>{
@Override
public int compare(Integer o1, Integer o2){
return (o1<o2 ? -1 : (o1==o2 ? 0 : 1));
}
Thanks!
I am looking at other posts to see what you mean by "
tags".
This compiles and runs well:
public class IntegerTest implements Comparator<Integer>{
@Override
public int compare(Integer o1, Integer o2){
return (o1<o2 ? -1 : (o1==o2 ? 0 : 1));
}
/**
*...