Remove an index and close the hole. @webref jsonarray:method @brief Removes an element @param index the index value of the element to be removed @return The value that was associated with the index, or null if there was no value. @see JSONArray#size() @see JSONArray#append(String)
(int index)
| 1067 | * @see JSONArray#append(String) |
| 1068 | */ |
| 1069 | public Object remove(int index) { |
| 1070 | Object o = this.opt(index); |
| 1071 | this.myArrayList.remove(index); |
| 1072 | return o; |
| 1073 | } |
| 1074 | |
| 1075 | |
| 1076 | // /** |