Package cn.leancloud.json
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
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract JSONArrayabstract JSONArrayabstract JSONArrayfluentAddAll(int index, Collection<? extends Object> c) abstract JSONArrayfluentAddAll(Collection<? extends Object> c) abstract JSONArrayabstract JSONArrayfluentRemove(int index) abstract JSONArrayabstract JSONArrayfluentRemoveAll(Collection<?> c) abstract JSONArrayfluentRetainAll(Collection<?> c) abstract JSONArrayabstract BigDecimalgetBigDecimal(int index) abstract BigIntegergetBigInteger(int index) abstract BooleangetBoolean(int index) abstract booleangetBooleanValue(int index) abstract BytegetByte(int index) abstract bytegetByteValue(int index) abstract DategetDate(int index) abstract DoublegetDouble(int index) abstract doublegetDoubleValue(int index) abstract FloatgetFloat(int index) abstract floatgetFloatValue(int index) abstract IntegergetInteger(int index) abstract intgetIntValue(int index) abstract JSONArraygetJSONArray(int index) abstract JSONObjectgetJSONObject(int index) abstract LonggetLong(int index) abstract longgetLongValue(int index) abstract <T> Tabstract <T> Tabstract ShortgetShort(int index) abstract shortgetShortValue(int index) abstract DategetSqlDate(int index) abstract StringgetString(int index) abstract TimestampgetTimestamp(int index) abstract <T> List<T> toJavaList(Class<T> clazz) abstract StringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, size, sort, spliterator, subList, toArray, toArray
-
Constructor Details
-
JSONArray
public JSONArray()
-
-
Method Details
-
fluentAdd
-
fluentRemove
-
fluentAddAll
-
fluentAddAll
-
fluentRemoveAll
-
fluentRetainAll
-
fluentClear
-
fluentRemove
-
fluentSet
-
fluentAdd
-
getJSONObject
-
getJSONArray
-
getObject
-
getObject
-
getBoolean
-
getBooleanValue
public abstract boolean getBooleanValue(int index) -
getByte
-
getByteValue
public abstract byte getByteValue(int index) -
getShort
-
getShortValue
public abstract short getShortValue(int index) -
getInteger
-
getIntValue
public abstract int getIntValue(int index) -
getLong
-
getLongValue
public abstract long getLongValue(int index) -
getFloat
-
getFloatValue
public abstract float getFloatValue(int index) -
getDouble
-
getDoubleValue
public abstract double getDoubleValue(int index) -
getBigDecimal
-
getBigInteger
-
getString
-
getDate
-
getSqlDate
-
getTimestamp
-
toJavaList
-
toJSONString
-