Get the optional object value associated with an index. @param index The index must be between 0 and length() - 1. @return An object value, or null if there is no object at that index.
(int index)
| 407 | * @return An object value, or null if there is no object at that index. |
| 408 | */ |
| 409 | public Object opt(int index) { |
| 410 | return (index < 0 || index >= this.length()) ? null : this.myArrayList.get(index); |
| 411 | } |
| 412 | |
| 413 | /** |
| 414 | * Get the optional boolean value associated with an index. It returns false |
no test coverage detected