@webref intlist:method @brief Add to a value
(int index, int amount)
| 483 | * @brief Add to a value |
| 484 | */ |
| 485 | public void add(int index, int amount) { |
| 486 | if (index < count) { |
| 487 | data[index] += amount; |
| 488 | } else { |
| 489 | boundsProblem(index, "add"); |
| 490 | } |
| 491 | } |
| 492 | |
| 493 | /** |
| 494 | * @webref intlist:method |
no test coverage detected