Subtract from a value. @webref intlist:method @webBrief Subtract from a value
(int index, int amount)
| 448 | * @webBrief Subtract from a value |
| 449 | */ |
| 450 | public void sub(int index, int amount) { |
| 451 | if (index < count) { |
| 452 | data[index] -= amount; |
| 453 | } else { |
| 454 | boundsProblem(index, "sub"); |
| 455 | } |
| 456 | } |
| 457 | |
| 458 | /** |
| 459 | * Multiply a value. |
nothing calls this directly
no test coverage detected