Package collections.sets

Examples of collections.sets.Boo


  /**
   * @param args
   */
  public static void main(String[] args) {
      LinkedHashMap<Boo,String> map = new LinkedHashMap<Boo,String>();
    map.put(new Boo("first"),"first");

  }
View Full Code Here


    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")));

   
  }
View Full Code Here

  /**
   * @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());
   
  }
View Full Code Here

TOP

Related Classes of collections.sets.Boo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.