Constructor and Description |
---|
JsonArray() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(boolean b) |
void |
add(int index,
JsonValue element) |
boolean |
add(JsonValue e) |
boolean |
add(long val) |
boolean |
add(String e) |
boolean |
addAll(Collection<? extends JsonValue> c) |
boolean |
addAll(int index,
Collection<? extends JsonValue> c) |
void |
clear() |
boolean |
contains(Object object) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object other) |
JsonValue |
get(int index) |
JsonArray |
getAsArray() |
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isArray() |
boolean |
isEmpty() |
Iterator<JsonValue> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<JsonValue> |
listIterator() |
ListIterator<JsonValue> |
listIterator(int index) |
JsonValue |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
JsonValue |
set(int index,
JsonValue element) |
int |
size() |
List<JsonValue> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
void |
visit(JsonVisitor visitor) |
getAsBoolean, getAsNumber, getAsObject, getAsString, isBoolean, isNull, isNumber, isObject, isPrimitive, isString, output, toString
public JsonArray getAsArray()
getAsArray
in class JsonValue
public int hashCode()
public boolean equals(Object other)
public void visit(JsonVisitor visitor)
public boolean add(JsonValue e)
public boolean add(String e)
public boolean add(long val)
public boolean add(boolean b)
public boolean addAll(Collection<? extends JsonValue> c)
public boolean addAll(int index, Collection<? extends JsonValue> c)
public void clear()
public boolean contains(Object object)
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<JsonValue>
containsAll
in interface List<JsonValue>
public boolean isEmpty()
public int lastIndexOf(Object o)
lastIndexOf
in interface List<JsonValue>
public ListIterator<JsonValue> listIterator()
listIterator
in interface List<JsonValue>
public ListIterator<JsonValue> listIterator(int index)
listIterator
in interface List<JsonValue>
public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public Object[] toArray()
Licenced under the Apache License, Version 2.0