@@ -172,6 +172,7 @@ public interface JsonArray extends JsonStructure, List<JsonValue> {
172172 * method returns.
173173 *
174174 * @param clazz a JsonValue type
175+ * @param <T> type to return the list for
175176 * @return a list view of the specified type
176177 */
177178 <T extends JsonValue > List <T > getValuesAs (Class <T > clazz );
@@ -195,6 +196,7 @@ public interface JsonArray extends JsonStructure, List<JsonValue> {
195196 * the specified default value is returned.
196197 *
197198 * @param index index of the JsonString value
199+ * @param defaultValue a default value to be returned
198200 * @return the String value at the specified position in this array,
199201 * or the specified default value
200202 */
@@ -219,6 +221,7 @@ public interface JsonArray extends JsonStructure, List<JsonValue> {
219221 * this method returns the specified default value.
220222 *
221223 * @param index index of the {@code JsonNumber} value
224+ * @param defaultValue a default value to be returned
222225 * @return the int value at the specified position in this array,
223226 * or the specified default value
224227 */
@@ -246,6 +249,7 @@ public interface JsonArray extends JsonStructure, List<JsonValue> {
246249 * Otherwise this method returns the specified default value.
247250 *
248251 * @param index index of the JSON boolean value
252+ * @param defaultValue a default value to be returned
249253 * @return the boolean value at the specified position,
250254 * or the specified default value
251255 */
0 commit comments