public class GsonArray extends JSONArray
JSONArray.Builder| 构造器和说明 |
|---|
GsonArray() |
GsonArray(com.google.gson.JsonArray array) |
GsonArray(List<Object> list) |
replaceAll, sort, spliteratorparallelStream, removeIf, streampublic com.google.gson.JsonArray getRawObject()
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(Object obj)
public boolean remove(Object o)
public JSONArray fluentRemove(Object o)
fluentRemove 在类中 JSONArraypublic boolean containsAll(Collection<? extends Object> c)
public boolean addAll(Collection<? extends Object> c)
public JSONArray fluentAddAll(Collection<? extends Object> c)
fluentAddAll 在类中 JSONArraypublic boolean addAll(int index,
Collection<? extends Object> c)
public JSONArray fluentAddAll(int index, Collection<? extends Object> c)
fluentAddAll 在类中 JSONArraypublic boolean removeAll(Collection<? extends Object> c)
public JSONArray fluentRemoveAll(Collection<?> c)
fluentRemoveAll 在类中 JSONArraypublic boolean retainAll(Collection<?> c)
public JSONArray fluentRetainAll(Collection<?> c)
fluentRetainAll 在类中 JSONArraypublic void clear()
public JSONArray fluentClear()
fluentClear 在类中 JSONArraypublic void add(int index,
Object element)
public Object remove(int index)
public JSONArray fluentRemove(int index)
fluentRemove 在类中 JSONArraypublic int indexOf(Object o)
public int lastIndexOf(Object o)
public ListIterator<Object> listIterator()
public ListIterator<Object> listIterator(int index)
public Object get(int index)
public JSONObject getJSONObject(int index)
getJSONObject 在类中 JSONArraypublic JSONArray getJSONArray(int index)
getJSONArray 在类中 JSONArraypublic Boolean getBoolean(int index)
getBoolean 在类中 JSONArraypublic boolean getBooleanValue(int index)
getBooleanValue 在类中 JSONArraypublic byte getByteValue(int index)
getByteValue 在类中 JSONArraypublic short getShortValue(int index)
getShortValue 在类中 JSONArraypublic Integer getInteger(int index)
getInteger 在类中 JSONArraypublic int getIntValue(int index)
getIntValue 在类中 JSONArraypublic long getLongValue(int index)
getLongValue 在类中 JSONArraypublic float getFloatValue(int index)
getFloatValue 在类中 JSONArraypublic double getDoubleValue(int index)
getDoubleValue 在类中 JSONArraypublic BigDecimal getBigDecimal(int index)
getBigDecimal 在类中 JSONArraypublic BigInteger getBigInteger(int index)
getBigInteger 在类中 JSONArraypublic Date getSqlDate(int index)
getSqlDate 在类中 JSONArraypublic Timestamp getTimestamp(int index)
getTimestamp 在类中 JSONArraypublic <T> List<T> toJavaList(Class<T> clazz)
toJavaList 在类中 JSONArraypublic boolean equals(Object obj)
public int hashCode()
public String toJSONString()
toJSONString 在类中 JSONArrayCopyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.