>>126
new java.util.Comparator(){int compare(Object o1,Object o2){return ((hoge)o1).i-((hoge)o2).i;}}