public class SerializedArray extends Object implements SerializedValue
| Constructor and Description |
|---|
SerializedArray(Type type,
Class<?> valueType) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(SerializedValueVisitor<T> visitor) |
void |
add(SerializedValue value) |
SerializedValue[] |
getArray() |
List<SerializedValue> |
getArrayAsList() |
Type |
getComponentType() |
Class<?> |
getRawType() |
Type |
getType() |
Class<?> |
getValueType() |
String |
toString() |
SerializedArray |
with(SerializedValue... values) |
public SerializedArray with(SerializedValue... values)
public Type getType()
getType in interface SerializedValuepublic Class<?> getValueType()
getValueType in interface SerializedValuepublic Type getComponentType()
public Class<?> getRawType()
public SerializedValue[] getArray()
public List<SerializedValue> getArrayAsList()
public <T> T accept(SerializedValueVisitor<T> visitor)
accept in interface SerializedValuepublic void add(SerializedValue value)
Copyright © 2016. All rights reserved.