Return the maximum size of the array. Indices can be in the range [0, max_size).
| 157 | // Return the maximum size of the array. |
| 158 | // Indices can be in the range [0, max_size). |
| 159 | int max_size() const { |
| 160 | if (dense_.data() != NULL) |
| 161 | return dense_.size(); |
| 162 | else |
| 163 | return 0; |
| 164 | } |
| 165 | |
| 166 | // Clear the array. |
| 167 | void clear() { |
no test coverage detected