| 167 | } |
| 168 | |
| 169 | int |
| 170 | SimpleDeltaSequence::get_number(int bound) |
| 171 | { |
| 172 | |
| 173 | SimpleDeltaSequence::ValuePair *p = sequence_[current_pos_]; |
| 174 | assert("SimpleDeltaSequence: get_number p is NULL!" && p); |
| 175 | int b = p->get_bound(); |
| 176 | assert("SimpleDeltaSequence: bound doesn't match!" && bound == b); |
| 177 | seq_map_[current_pos_] = p; |
| 178 | ++current_pos_; |
| 179 | return p->get_value(); |
| 180 | } |
| 181 | |
| 182 | void |
| 183 | SimpleDeltaSequence::clear() |