public class JA
extends java.util.AbstractList
Constructor and Description |
---|
JA() |
JA(org.json.simple.JSONArray ja) |
JA(java.lang.Object obj) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(JO jo) |
boolean |
addAllJO(java.util.Collection<JO> c) |
JO |
get(int i) |
java.lang.Object |
getObject(int i) |
java.util.Iterator<JO> |
iterator() |
java.util.ListIterator |
listIterator()
Required by JSON#encodeArray()
|
java.util.List<JO> |
objects() |
static JA |
parse(java.io.Reader r) |
static JA |
parse(java.lang.String s) |
int |
size() |
org.json.simple.JSONArray |
toJSONArray() |
java.util.List<java.lang.String> |
values() |
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public JA()
public JA(org.json.simple.JSONArray ja)
public JA(java.lang.Object obj)
public org.json.simple.JSONArray toJSONArray()
public int size()
size
in interface java.util.Collection
size
in interface java.util.List
size
in class java.util.AbstractCollection
public java.util.Iterator<JO> iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.List
iterator
in class java.util.AbstractList
public java.util.List<java.lang.String> values()
public java.util.List<JO> objects()
public boolean add(JO jo)
public JO get(int i)
get
in interface java.util.List
get
in class java.util.AbstractList
public java.lang.Object getObject(int i)
public java.util.ListIterator listIterator()
listIterator
in interface java.util.List
listIterator
in class java.util.AbstractList
public static JA parse(java.lang.String s)
public static JA parse(java.io.Reader r)
public boolean addAllJO(java.util.Collection<JO> c)