Returns the value at index, or null if the array has no value at index. @param index Which value to get. @return the value at the specified location.
(int index)
| 328 | * @return the value at the specified location. |
| 329 | */ |
| 330 | public Object opt(int index) { |
| 331 | if (index < 0 || index >= values.size()) { |
| 332 | return null; |
| 333 | } |
| 334 | return values.get(index); |
| 335 | } |
| 336 | |
| 337 | /** |
| 338 | * Removes and returns the value at {@code index}, or null if the array has no value |
no test coverage detected