public static void main(String[] args) {
Random x = new Random();
Set p = new TreeSet(new Comparator() {
@Override
public int compare(Integer o1, Integer o2) {
return o2-o1;
}
});
while (p.size()<10) {
p.add(x.nextInt(20) + 1);
}
System.out.println§;