@webref intlist:method @brief Subtract from a value
(int index, int amount)
| 495 | * @brief Subtract from a value |
| 496 | */ |
| 497 | public void sub(int index, int amount) { |
| 498 | if (index < count) { |
| 499 | data[index] -= amount; |
| 500 | } else { |
| 501 | boundsProblem(index, "sub"); |
| 502 | } |
| 503 | } |
| 504 | |
| 505 | /** |
| 506 | * @webref intlist:method |
nothing calls this directly
no test coverage detected