Class JSONArray

java.lang.Object
cn.leancloud.json.JSONArray
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Object>, Collection<Object>, List<Object>, SequencedCollection<Object>
Direct Known Subclasses:
GsonArray

public abstract class JSONArray extends Object implements List<Object>, Cloneable, Serializable
See Also:
  • Constructor Details

    • JSONArray

      public JSONArray()
  • Method Details

    • fluentAdd

      public abstract JSONArray fluentAdd(Object a)
    • fluentRemove

      public abstract JSONArray fluentRemove(Object o)
    • fluentAddAll

      public abstract JSONArray fluentAddAll(Collection<? extends Object> c)
    • fluentAddAll

      public abstract JSONArray fluentAddAll(int index, Collection<? extends Object> c)
    • fluentRemoveAll

      public abstract JSONArray fluentRemoveAll(Collection<?> c)
    • fluentRetainAll

      public abstract JSONArray fluentRetainAll(Collection<?> c)
    • fluentClear

      public abstract JSONArray fluentClear()
    • fluentRemove

      public abstract JSONArray fluentRemove(int index)
    • fluentSet

      public abstract JSONArray fluentSet(int index, Object element)
    • fluentAdd

      public abstract JSONArray fluentAdd(int index, Object element)
    • getJSONObject

      public abstract JSONObject getJSONObject(int index)
    • getJSONArray

      public abstract JSONArray getJSONArray(int index)
    • getObject

      public abstract <T> T getObject(int index, Class<T> clazz)
    • getObject

      public abstract <T> T getObject(int index, Type type)
    • getBoolean

      public abstract Boolean getBoolean(int index)
    • getBooleanValue

      public abstract boolean getBooleanValue(int index)
    • getByte

      public abstract Byte getByte(int index)
    • getByteValue

      public abstract byte getByteValue(int index)
    • getShort

      public abstract Short getShort(int index)
    • getShortValue

      public abstract short getShortValue(int index)
    • getInteger

      public abstract Integer getInteger(int index)
    • getIntValue

      public abstract int getIntValue(int index)
    • getLong

      public abstract Long getLong(int index)
    • getLongValue

      public abstract long getLongValue(int index)
    • getFloat

      public abstract Float getFloat(int index)
    • getFloatValue

      public abstract float getFloatValue(int index)
    • getDouble

      public abstract Double getDouble(int index)
    • getDoubleValue

      public abstract double getDoubleValue(int index)
    • getBigDecimal

      public abstract BigDecimal getBigDecimal(int index)
    • getBigInteger

      public abstract BigInteger getBigInteger(int index)
    • getString

      public abstract String getString(int index)
    • getDate

      public abstract Date getDate(int index)
    • getSqlDate

      public abstract Date getSqlDate(int index)
    • getTimestamp

      public abstract Timestamp getTimestamp(int index)
    • toJavaList

      public abstract <T> List<T> toJavaList(Class<T> clazz)
    • toJSONString

      public abstract String toJSONString()