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)
| 256 | * object at that index. |
| 257 | */ |
| 258 | private Object opt(int index) { |
| 259 | if (index < 0 || index >= this.size()) { |
| 260 | return null; |
| 261 | } |
| 262 | return myArrayList.get(index); |
| 263 | } |
| 264 | |
| 265 | |
| 266 | /** |