import java.util.*; class Samp02 { public static void main(String[] args){ List ls = new LinkedList(); ls.add(new Object()); ls.add(new Object()); ls.add(new Object()); Collections.sort(ls, CollectionsA.reverseOrder()); System.out.println(ls); } }