keys, in the order they appear in the data
| 109 | |
| 110 | // keys, in the order they appear in the data |
| 111 | inline Vector<RTYPE> keys() const{ |
| 112 | Vector<RTYPE> res = no_init(size_) ; |
| 113 | for( int i=0, j=0; j<size_; i++){ |
| 114 | if( data[i] ) res[j++] = src[data[i]-1] ; |
| 115 | } |
| 116 | return res ; |
| 117 | } |
| 118 | |
| 119 | int n, m, k ; |
| 120 | STORAGE* src ; |