public class ListValueImpl extends Object implements ValueList
ValueList.Builder| Constructor and Description |
|---|
ListValueImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Value element) |
boolean |
add(Value jsonValue) |
boolean |
addAll(Collection<? extends Value> c) |
boolean |
addAll(int index,
Collection<? extends Value> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
Value |
get(int index) |
Boolean |
getBoolean()
Read the field.
|
ListValueImpl |
getList() |
MapValueImpl |
getMap() |
Object |
getObject()
Read the field value as raw java object.
|
Object |
getObject(int fieldIndex)
Read the raw field value at the specified index.
|
String |
getString()
Read the field.
|
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
boolean |
isNull() |
Iterator<Value> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<Value> |
listIterator() |
ListIterator<Value> |
listIterator(int index) |
Value |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
Value |
set(int index,
Value element) |
int |
size() |
List<Value> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitnewBuilder, newInstancenullValue, of, of, of, of, of, of, of, of, of, of, of, of, of, ofgetAs, getBooleanAs, getByte, getByteAs, getDouble, getDoubleAs, getFloat, getFloatAs, getInt, getIntAs, getLong, getLongAs, getShort, getShortAs, getStringAsreplaceAll, sort, spliteratorparallelStream, removeIf, streamgetAs, getBoolean, getBooleanAs, getByte, getByteAs, getDouble, getDoubleAs, getFloat, getFloatAs, getInt, getIntAs, getLong, getLongAs, getShort, getShortAs, getString, getStringAspublic Object getObject()
FieldAccessorsgetObject in interface FieldAccessorspublic Object getObject(int fieldIndex)
IndexedFieldAccessorsgetObject in interface IndexedFieldAccessorsfieldIndex - 0-based field index.public Boolean getBoolean()
FieldAccessorsgetBoolean in interface FieldAccessorspublic String getString()
FieldAccessorsgetString in interface FieldAccessorspublic MapValueImpl getMap()
public ListValueImpl getList()
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(Value jsonValue)
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<Value>containsAll in interface List<Value>public boolean addAll(Collection<? extends Value> c)
public boolean addAll(int index,
Collection<? extends Value> c)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public void clear()
public boolean equals(Object o)
public int hashCode()
public int lastIndexOf(Object o)
lastIndexOf in interface List<Value>public ListIterator<Value> listIterator()
listIterator in interface List<Value>public ListIterator<Value> listIterator(int index)
listIterator in interface List<Value>Copyright © 2015. All rights reserved.