910111213141516
/** * @param args */ public static void main(String[] args) { LinkedHashMap<Boo,String> map = new LinkedHashMap<Boo,String>(); map.put(new Boo("first"),"first"); }
2728293031323334353637383940414243444546474849505152
System.out.println(sl); sl.add("ww"); System.out.println(l); Boo b1 = new Boo("1"); Boo b2 = new Boo("2"); Boo b3 = new Boo("3"); Boo b4 = new Boo("4"); Boo b5 = new Boo("5"); List<Boo> la = new LinkedList<Boo>(); la.add(b1); la.add(b2); la.add(b3); la.add(b4); la.add(b5); System.out.println(la); Collections.shuffle(la); System.out.println(la); Collections.sort(la); System.out.println(la); System.out.println(Collections.binarySearch(la, new Boo("2"))); }
12131415161718192021
/** * @param args */ public static void main(String[] args) { Set<Boo> l = new LinkedHashSet<Boo>(); Boo f = new Boo("qwerty"); Boo f2 = new Boo2(); f2.test(new B()); }