类 JSONArray
java.lang.Object
cn.vonce.sql.json.JSONParser
cn.vonce.sql.json.JSONArray
- 所有已实现的接口:
Serializable,Cloneable,Iterable<Object>,Collection<Object>,List<Object>,RandomAccess
public class JSONArray
extends JSONParser
implements List<Object>, Cloneable, RandomAccess, Serializable
JSONArray
- 作者:
- Jovi
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidbooleanbooleanaddAll(int index, Collection<?> c) booleanaddAll(Collection<?> c) voidclear()booleanbooleancontainsAll(Collection<?> c) get(int index) intbooleanisEmpty()iterator()intlistIterator(int index) static JSONArrayparseArray(Object obj) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) <T> List<T>toJavaList(Class<T> clazz) toString()从类继承的方法 cn.vonce.sql.json.JSONParser
parse, parseArray, parseArray, parseObject, parseObject, toJSONString从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 java.util.Collection
parallelStream, removeIf, stream, toArray从接口继承的方法 java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
构造器详细资料
-
JSONArray
public JSONArray() -
JSONArray
-
JSONArray
public JSONArray(int initialCapacity)
-
-
方法详细资料
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
containsAll
- 指定者:
containsAll在接口中Collection<Object>- 指定者:
containsAll在接口中List<Object>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- 指定者:
lastIndexOf在接口中List<Object>
-
listIterator
- 指定者:
listIterator在接口中List<Object>
-
listIterator
- 指定者:
listIterator在接口中List<Object>
-
subList
-
toString
-
toJavaList
-
parseArray
-