public class GsonArray extends JSONArray
JSONArray.Builder
构造器和说明 |
---|
GsonArray() |
GsonArray(com.google.gson.JsonArray array) |
GsonArray(List<Object> list) |
replaceAll, sort, spliterator
parallelStream, removeIf, stream
public 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
在类中 JSONArray
public boolean containsAll(Collection<? extends Object> c)
public boolean addAll(Collection<? extends Object> c)
public JSONArray fluentAddAll(Collection<? extends Object> c)
fluentAddAll
在类中 JSONArray
public boolean addAll(int index, Collection<? extends Object> c)
public JSONArray fluentAddAll(int index, Collection<? extends Object> c)
fluentAddAll
在类中 JSONArray
public boolean removeAll(Collection<? extends Object> c)
public JSONArray fluentRemoveAll(Collection<?> c)
fluentRemoveAll
在类中 JSONArray
public boolean retainAll(Collection<?> c)
public JSONArray fluentRetainAll(Collection<?> c)
fluentRetainAll
在类中 JSONArray
public void clear()
public JSONArray fluentClear()
fluentClear
在类中 JSONArray
public void add(int index, Object element)
public Object remove(int index)
public JSONArray fluentRemove(int index)
fluentRemove
在类中 JSONArray
public 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
在类中 JSONArray
public JSONArray getJSONArray(int index)
getJSONArray
在类中 JSONArray
public Boolean getBoolean(int index)
getBoolean
在类中 JSONArray
public boolean getBooleanValue(int index)
getBooleanValue
在类中 JSONArray
public byte getByteValue(int index)
getByteValue
在类中 JSONArray
public short getShortValue(int index)
getShortValue
在类中 JSONArray
public Integer getInteger(int index)
getInteger
在类中 JSONArray
public int getIntValue(int index)
getIntValue
在类中 JSONArray
public long getLongValue(int index)
getLongValue
在类中 JSONArray
public float getFloatValue(int index)
getFloatValue
在类中 JSONArray
public double getDoubleValue(int index)
getDoubleValue
在类中 JSONArray
public BigDecimal getBigDecimal(int index)
getBigDecimal
在类中 JSONArray
public BigInteger getBigInteger(int index)
getBigInteger
在类中 JSONArray
public Date getSqlDate(int index)
getSqlDate
在类中 JSONArray
public Timestamp getTimestamp(int index)
getTimestamp
在类中 JSONArray
public <T> List<T> toJavaList(Class<T> clazz)
toJavaList
在类中 JSONArray
public boolean equals(Object obj)
public int hashCode()
public String toJSONString()
toJSONString
在类中 JSONArray
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.