/**
 * System.Collection
 *
 * Demonstrates usage of a set class.
 */

import("nexus.system.collection")


/**
 * Entry point
 *
 * params:  
 * return:  
 */
method main ()
{
    set = System.Collection.HashSet.new()

    set.add(1)
    set.add(2)
    set.add(3)

    iter = set.iterator()

    while (iter.has_next()) {
        print(iter.next())
    }
}

main()