(int index)
| 379 | } |
| 380 | |
| 381 | @Override |
| 382 | public E get(int index) { |
| 383 | switch (index) { |
| 384 | case 0: |
| 385 | return first; |
| 386 | case 1: |
| 387 | return second; |
| 388 | default: |
| 389 | // check explicitly so the IOOBE will have the right message |
| 390 | checkElementIndex(index, size()); |
| 391 | return rest[index - 2]; |
| 392 | } |
| 393 | } |
| 394 | |
| 395 | private static final long serialVersionUID = 0; |
| 396 | } |
nothing calls this directly
no test coverage detected