@throws IndexOutOfBoundsException if i is out of bounds.
(final int i)
| 385 | * @throws IndexOutOfBoundsException if {@code i} is out of bounds. |
| 386 | */ |
| 387 | private void checkIndex(final int i) { |
| 388 | if (i > size) { |
| 389 | throw new IndexOutOfBoundsException("index " + i + " > " + size |
| 390 | + " for this=" + this); |
| 391 | } |
| 392 | if (i < 0) { |
| 393 | throw new IndexOutOfBoundsException("negative index " + i |
| 394 | + " for this=" + this); |
| 395 | } |
| 396 | } |
| 397 | |
| 398 | /** |
| 399 | * Computes the proper offset to reach qualifier |
no outgoing calls
no test coverage detected