| Constructor and Description |
|---|
ListValue() |
ListValue(ValueType elemType) |
ListValue(ValueType elemType,
List<T> values) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T value) |
void |
addAll(Collection<T> values) |
void |
assign(Value<ListValue<T>> other)
Assign a new value to this object
|
void |
checkAndSetType(T value) |
int |
compareTo(ListValue<T> obj) |
boolean |
contains(T obj) |
ListValue<T> |
copy() |
ValueType |
elemType() |
boolean |
equals(Object obj) |
T |
get(int index) |
T |
getLast() |
int |
hashCode() |
void |
read(RandomAccessInput in) |
protected void |
read(RandomAccessInput in,
boolean readElemType) |
int |
size() |
String |
toString() |
List<T> |
value() |
List<T> |
values() |
ValueType |
valueType() |
void |
write(RandomAccessOutput out) |
protected void |
write(RandomAccessOutput out,
boolean writeElemType) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckAssign, stringpublic ListValue()
public ListValue(ValueType elemType)
public void checkAndSetType(T value)
public void add(T value)
public void addAll(Collection<T> values)
public T get(int index)
public T getLast()
public boolean contains(T obj)
public int size()
public ValueType valueType()
public ValueType elemType()
public void assign(Value<ListValue<T>> other)
Valuepublic void read(RandomAccessInput in) throws IOException
read in interface ReadableIOExceptionprotected void read(RandomAccessInput in, boolean readElemType) throws IOException
IOExceptionpublic void write(RandomAccessOutput out) throws IOException
write in interface WritableIOExceptionprotected void write(RandomAccessOutput out, boolean writeElemType) throws IOException
IOExceptionpublic int compareTo(ListValue<T> obj)
compareTo in interface Comparable<ListValue<T extends Value<?>>>Copyright © 2020–2021. All rights reserved.