(int index)
| 395 | } |
| 396 | |
| 397 | @Override |
| 398 | public E get(int index) { |
| 399 | switch (index) { |
| 400 | case 0: |
| 401 | return first; |
| 402 | case 1: |
| 403 | return second; |
| 404 | default: |
| 405 | // check explicitly so the IOOBE will have the right message |
| 406 | checkElementIndex(index, size()); |
| 407 | return rest[index - 2]; |
| 408 | } |
| 409 | } |
| 410 | |
| 411 | private static final long serialVersionUID = 0; |
| 412 | } |
nothing calls this directly
no test coverage detected