(int i)
| 19 | private static final long serialVersionUID = -5007980429903443802L; |
| 20 | |
| 21 | public Object nth(int i){ |
| 22 | if(i == 0) |
| 23 | return key(); |
| 24 | else if(i == 1) |
| 25 | return val(); |
| 26 | else |
| 27 | throw new IndexOutOfBoundsException(); |
| 28 | } |
| 29 | |
| 30 | private IPersistentVector asVector(){ |
| 31 | return LazilyPersistentVector.createOwning(key(), val()); |