Interface LicenseCheckerJsonArray

All Superinterfaces:
LicenseCheckerJsonValue, Serializable
All Known Implementing Classes:
LicenseCheckerJreJsonArray

public interface LicenseCheckerJsonArray extends LicenseCheckerJsonValue
Represents a LicenseCheckerJson array.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int index)
    Return the ith element of the array.
    getArray(int index)
    Return the ith element of the array (uncoerced) as a LicenseCheckerJsonArray.
    boolean
    getBoolean(int index)
    Return the ith element of the array (uncoerced) as a boolean.
    double
    getNumber(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.
    int
    Length of the array.
    void
    remove(int index)
    Remove an element of the array at a particular index.
    void
    set(int index, boolean bool)
    Set the value at index to be a boolean value.
    void
    set(int index, double number)
    Set the value at index to be a number value.
    void
    set(int index, LicenseCheckerJsonValue value)
    Set the value at index to be a given value.
    void
    set(int index, String string)
    Set the value at index to be a String value.

    Methods inherited from interface com.vaadin.pro.licensechecker.json.LicenseCheckerJsonValue

    asBoolean, asNumber, asString, getType, jsEquals, toJson, toNative
  • Method Details

    • get

      <T extends LicenseCheckerJsonValue> T get(int index)
      Return the ith element of the array.
    • getArray

      LicenseCheckerJsonArray getArray(int index)
      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

      LicenseCheckerJsonObject 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

      String getString(int index)
      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

      void set(int index, LicenseCheckerJsonValue value)
      Set the value at index to be a given value.
    • set

      void set(int index, String string)
      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.