@@ -172,6 +172,7 @@ public interface JsonArray extends JsonStructure, List<JsonValue> {
|
172 | 172 | * method returns.
|
173 | 173 | *
|
174 | 174 | * @param clazz a JsonValue type
|
| 175 | +* @param <T> type to return the list for |
175 | 176 | * @return a list view of the specified type
|
176 | 177 | */
|
177 | 178 | <T extends JsonValue> List<T> getValuesAs(Class<T> clazz);
|
@@ -195,6 +196,7 @@ public interface JsonArray extends JsonStructure, List<JsonValue> {
|
195 | 196 | * the specified default value is returned.
|
196 | 197 | *
|
197 | 198 | * @param index index of the JsonString value
|
| 199 | +* @param defaultValue a default value to be returned |
198 | 200 | * @return the String value at the specified position in this array,
|
199 | 201 | * or the specified default value
|
200 | 202 | */
|
@@ -219,6 +221,7 @@ public interface JsonArray extends JsonStructure, List<JsonValue> {
|
219 | 221 | * this method returns the specified default value.
|
220 | 222 | *
|
221 | 223 | * @param index index of the {@code JsonNumber} value
|
| 224 | +* @param defaultValue a default value to be returned |
222 | 225 | * @return the int value at the specified position in this array,
|
223 | 226 | * or the specified default value
|
224 | 227 | */
|
@@ -246,6 +249,7 @@ public interface JsonArray extends JsonStructure, List<JsonValue> {
|
246 | 249 | * Otherwise this method returns the specified default value.
|
247 | 250 | *
|
248 | 251 | * @param index index of the JSON boolean value
|
| 252 | +* @param defaultValue a default value to be returned |
249 | 253 | * @return the boolean value at the specified position,
|
250 | 254 | * or the specified default value
|
251 | 255 | */
|
|
0 commit comments