Search:

Type: Posts; User: copeg

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    7,440

    Re: arraylist, hashtable, and 1~2 dimension arrays

    You can iterate over the set by retrieving its iterator:


    Set<String> mySet = new HashSet<String>();
    ....

    Iterator<String> it = mySet.iterator():
    while (it.hasNext()){
    String s =...
  2. Replies
    4
    Views
    7,440

    Re: arraylist, hashtable, and 1~2 dimension arrays

    HashMap/Table/Set are a type of java Collection that stores objects quite differently than a list, which makes them advantageous in certain circumstances. It does so by storing object using hashes...
Results 1 to 2 of 2