Lines Matching full:myhash
42 HashMap<int,int > myHash;
46 myHash.setName("TestHash");
47 myHash.insert(1, i);
48 myHash.getValue(1, &value);
50 myHash.getIndex( 10, &i );
53 myHash.getNumericIndex(i, &j);
55 myHash.getNumericIndexByValue(value, &j);
58 myHash.print();
59 myHash.remove(1);
60 myHash.print();
67 HashMap<int,string> myHash;
71 myHash.setName("TestHash");
72 myHash.insert(1, value);
73 myHash.insert(2, "world");
75 myHash.getValue(1, &value);
77 myHash.getIndex( value, &i );
80 myHash.getNumericIndex(i, &j);
82 myHash.getNumericIndexByValue(value, &j);
85 myHash.print();
86 myHash.getFirst(&i, &value);
88 if (myHash.getNext(&i, &value)) {
94 myHash.remove(1);
95 myHash.getFirst(&i, &value);
97 if (myHash.getNext(&i, &value)) {
105 myHash.print();
124 HashMap<int,string> myHash;
157 if ( myHash.getIndex(s, &i) ) {
168 if ( myHash.getValue(i, &s) ) {
179 if (!myHash.getValue(i, &ss) ) {
180 if ( myHash.insert(i, s) ) {
192 if (myHash.getValue(i, &ss) ) {
193 if ( myHash.remove(i) ) {