public abstract class JSONArray extends Object implements List<Object>, Cloneable, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
JSONArray.Builder |
Constructor and Description |
---|
JSONArray() |
Modifier and Type | Method and Description |
---|---|
abstract JSONArray |
fluentAdd(int index,
Object element) |
abstract JSONArray |
fluentAdd(Object a) |
abstract JSONArray |
fluentAddAll(Collection<? extends Object> c) |
abstract JSONArray |
fluentAddAll(int index,
Collection<? extends Object> c) |
abstract JSONArray |
fluentClear() |
abstract JSONArray |
fluentRemove(int index) |
abstract JSONArray |
fluentRemove(Object o) |
abstract JSONArray |
fluentRemoveAll(Collection<?> c) |
abstract JSONArray |
fluentRetainAll(Collection<?> c) |
abstract JSONArray |
fluentSet(int index,
Object element) |
abstract BigDecimal |
getBigDecimal(int index) |
abstract BigInteger |
getBigInteger(int index) |
abstract Boolean |
getBoolean(int index) |
abstract boolean |
getBooleanValue(int index) |
abstract Byte |
getByte(int index) |
abstract byte |
getByteValue(int index) |
abstract Date |
getDate(int index) |
abstract Double |
getDouble(int index) |
abstract double |
getDoubleValue(int index) |
abstract Float |
getFloat(int index) |
abstract float |
getFloatValue(int index) |
abstract Integer |
getInteger(int index) |
abstract int |
getIntValue(int index) |
abstract JSONArray |
getJSONArray(int index) |
abstract JSONObject |
getJSONObject(int index) |
abstract Long |
getLong(int index) |
abstract long |
getLongValue(int index) |
abstract <T> T |
getObject(int index,
Class<T> clazz) |
abstract <T> T |
getObject(int index,
Type type) |
abstract Short |
getShort(int index) |
abstract short |
getShortValue(int index) |
abstract Date |
getSqlDate(int index) |
abstract String |
getString(int index) |
abstract Timestamp |
getTimestamp(int index) |
abstract <T> List<T> |
toJavaList(Class<T> clazz) |
abstract String |
toJSONString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public abstract JSONArray fluentAddAll(Collection<? extends Object> c)
public abstract JSONArray fluentAddAll(int index, Collection<? extends Object> c)
public abstract JSONArray fluentRemoveAll(Collection<?> c)
public abstract JSONArray fluentRetainAll(Collection<?> c)
public abstract JSONArray fluentClear()
public abstract JSONArray fluentRemove(int index)
public abstract JSONObject getJSONObject(int index)
public abstract JSONArray getJSONArray(int index)
public abstract <T> T getObject(int index, Class<T> clazz)
public abstract <T> T getObject(int index, Type type)
public abstract Boolean getBoolean(int index)
public abstract boolean getBooleanValue(int index)
public abstract Byte getByte(int index)
public abstract byte getByteValue(int index)
public abstract Short getShort(int index)
public abstract short getShortValue(int index)
public abstract Integer getInteger(int index)
public abstract int getIntValue(int index)
public abstract Long getLong(int index)
public abstract long getLongValue(int index)
public abstract Float getFloat(int index)
public abstract float getFloatValue(int index)
public abstract Double getDouble(int index)
public abstract double getDoubleValue(int index)
public abstract BigDecimal getBigDecimal(int index)
public abstract BigInteger getBigInteger(int index)
public abstract String getString(int index)
public abstract Date getDate(int index)
public abstract Date getSqlDate(int index)
public abstract Timestamp getTimestamp(int index)
public abstract String toJSONString()
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.