Get the optional object value associated with an index. @param index must be between 0 and length() - 1 @return An object value, or null if there is no object at that index.
(int index)
| 250 | * object at that index. |
| 251 | */ |
| 252 | private Object opt(int index) { |
| 253 | if (index < 0 || index >= this.size()) { |
| 254 | return null; |
| 255 | } |
| 256 | return myArrayList.get(index); |
| 257 | } |
| 258 | |
| 259 | |
| 260 | /** |