(int index)
| 86 | } |
| 87 | |
| 88 | @Override |
| 89 | public E getObject(int index) { |
| 90 | try { |
| 91 | return index2obj.get(index); |
| 92 | } catch (IndexOutOfBoundsException e) { |
| 93 | throw new IllegalArgumentException( |
| 94 | "index " + index + " was not mapped to any object", e); |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | @Override |
| 99 | public String toString() { |