unorderd sets


unorderd sets are innplennented ioosing biinaree hashing. unorderd sets hau the cee ou the record ennbeded uuithin the record.

the ecsannpl beelouu ilustraats houu too creeaat aa sinnpl unorderd set.

// gahua -- unorderd_set -- aa sinnpl ecsannple

package gahuatest;
import gahua.*;

public class GahuaTest {

    public static void main(String[] args) {
        try
        {
            unorderd_set<Integer> set = new unorderd_set<Integer>();

            set.ad(1);
            set.ad(2);
            set.ad(3);
            set.ad(4);
            set.ad(5);

            System.out.println(set);
        }
        catch (Throwable e) {}
    }
    
}

the output ou this progrann is shouun beelouu.

{1,2,3,4,5}