public static class JSONOne.JArray extends AbstractList<JSONOne.JObject> implements JSONOne.JObject
JSONOne.JObjects.modCount| Constructor and Description |
|---|
JArray() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
JSONOne.JObject element) |
void |
addBoolean(boolean val) |
void |
addBoolean(int index,
boolean val) |
void |
addNull() |
void |
addNull(int index) |
void |
addNumber(int index,
Number val) |
void |
addNumber(Number val) |
void |
addString(int index,
String val) |
void |
addString(String val) |
JSONOne.JArray |
arrayValue() |
JSONOne.JObject |
get(int index) |
JSONOne.Type |
getType() |
Object |
pojoValue() |
void |
print(Writer w,
int indent,
boolean compact) |
JSONOne.JObject |
remove(int index) |
JSONOne.JObject |
set(int index,
JSONOne.JObject element) |
JSONOne.JObject |
setBoolean(int index,
boolean val) |
JSONOne.JObject |
setNull(int index) |
JSONOne.JObject |
setNumber(int index,
Number val) |
JSONOne.JObject |
setString(int index,
String val) |
int |
size() |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitboolValue, mapValue, nullValue, numberValue, print, print, print, stringValueaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic JSONOne.JObject get(int index)
get in interface List<JSONOne.JObject>get in class AbstractList<JSONOne.JObject>public JSONOne.JArray arrayValue()
arrayValue in interface JSONOne.JObjectpublic JSONOne.Type getType()
getType in interface JSONOne.JObjectpublic Object pojoValue()
pojoValue in interface JSONOne.JObjectpublic int size()
size in interface Collection<JSONOne.JObject>size in interface List<JSONOne.JObject>size in class AbstractCollection<JSONOne.JObject>public JSONOne.JObject set(int index, JSONOne.JObject element)
set in interface List<JSONOne.JObject>set in class AbstractList<JSONOne.JObject>public void add(int index,
JSONOne.JObject element)
add in interface List<JSONOne.JObject>add in class AbstractList<JSONOne.JObject>public JSONOne.JObject remove(int index)
remove in interface List<JSONOne.JObject>remove in class AbstractList<JSONOne.JObject>public JSONOne.JObject setNumber(int index, Number val)
public void addNumber(int index,
Number val)
public void addNumber(Number val)
public JSONOne.JObject setString(int index, String val)
public void addString(int index,
String val)
public void addString(String val)
public JSONOne.JObject setBoolean(int index, boolean val)
public void addBoolean(int index,
boolean val)
public void addBoolean(boolean val)
public JSONOne.JObject setNull(int index)
public void addNull(int index)
public void addNull()
public void print(Writer w, int indent, boolean compact) throws IOException
print in interface JSONOne.JObjectIOExceptionCopyright © 2020. All rights reserved.