3 ms·
Apologies: was editing, deleted, but people already replied; I always forget the markdown syntax... Just to play devil's advocate, what is unusable about the s
by bfung 16y ago
Apologies: was editing, deleted, but people already replied; I always forget the markdown syntax...
Just to play devil's advocate, what is unusable about the syntax for anonymous classes in Java? An example close to bnoordhuis's post below, in today's syntax:
Collections.sort(list, new Comparator<Integer>() {
public int compare(Integer i1, Integer i2) {
return i1.compareTo(i2);
}
});
How are closures going to help?