Class AJSONList<E>

    • Field Detail

    • Constructor Detail

      • AJSONList

        public AJSONList​(JSONList list)
    • Method Detail

      • toJson

        public String toJson()
        Description copied from class: JSONObject
        Translate this JSON instance into json String
        Specified by:
        toJson in class JSONObject
        Returns:
        json String translated from this JSON instance
      • size

        public int size()
        Description copied from class: JSONObject
        Get the size of this JSON instance Note: this is for JSONList only.
        Specified by:
        size in interface IJSONList
        Overrides:
        size in class JSONObject
        Returns:
        the size of this JSON instance
      • get

        public E get​(int index)
        Description copied from class: JSONObject
        Get the value at the given index

        Note: this is for JSONList only.

        Overrides:
        get in class JSONObject
        Parameters:
        index - the index of the value
        Returns:
        the value at the given index
      • getValues

        public List<E> getValues()