Interface LicenseCheckerJsonArray
- All Superinterfaces:
LicenseCheckerJsonValue,Serializable
- All Known Implementing Classes:
LicenseCheckerJreJsonArray
Represents a LicenseCheckerJson array.
-
Method Summary
Modifier and TypeMethodDescription<T extends LicenseCheckerJsonValue>
Tget(int index) Return the ith element of the array.getArray(int index) Return the ith element of the array (uncoerced) as a LicenseCheckerJsonArray.booleangetBoolean(int index) Return the ith element of the array (uncoerced) as a boolean.doublegetNumber(int index) Return the ith element of the array (uncoerced) as a number.getObject(int index) Return the ith element of the array (uncoerced) as a LicenseCheckerJsonObject If the type is not an object,, this can result in runtime errors.getString(int index) Return the ith element of the array (uncoerced) as a String.intlength()Length of the array.voidremove(int index) Remove an element of the array at a particular index.voidset(int index, boolean bool) Set the value at index to be a boolean value.voidset(int index, double number) Set the value at index to be a number value.voidset(int index, LicenseCheckerJsonValue value) Set the value at index to be a given value.voidSet the value at index to be a String value.
-
Method Details
-
get
Return the ith element of the array. -
getArray
Return the ith element of the array (uncoerced) as a LicenseCheckerJsonArray. If the type is not an array, this can result in runtime errors. -
getBoolean
boolean getBoolean(int index) Return the ith element of the array (uncoerced) as a boolean. If the type is not a boolean, this can result in runtime errors. -
getNumber
double getNumber(int index) Return the ith element of the array (uncoerced) as a number. If the type is not a number, this can result in runtime errors. -
getObject
Return the ith element of the array (uncoerced) as a LicenseCheckerJsonObject If the type is not an object,, this can result in runtime errors. -
getString
Return the ith element of the array (uncoerced) as a String. If the type is not a String, this can result in runtime errors. -
length
int length()Length of the array. -
remove
void remove(int index) Remove an element of the array at a particular index. -
set
Set the value at index to be a given value. -
set
Set the value at index to be a String value. -
set
void set(int index, double number) Set the value at index to be a number value. -
set
void set(int index, boolean bool) Set the value at index to be a boolean value.
-