Package com.google.api.client.util
Class ArrayValueMap.ArrayValue
- java.lang.Object
-
- com.google.api.client.util.ArrayValueMap.ArrayValue
-
- Enclosing class:
- ArrayValueMap
static class ArrayValueMap.ArrayValue extends java.lang.Object
Array values on a particular field.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Class<?>
componentType
Array component type.(package private) java.util.ArrayList<java.lang.Object>
values
Values to be stored in the array.
-
Constructor Summary
Constructors Constructor Description ArrayValue(java.lang.Class<?> componentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
addValue(java.lang.Class<?> componentType, java.lang.Object value)
Adds a given value to the array, checking the given component type matches the previously stored component type.(package private) java.lang.Object
toArray()
Creates a new array whose content matches that of thevalues
.
-
-
-
Method Detail
-
toArray
java.lang.Object toArray()
Creates a new array whose content matches that of thevalues
.
-
addValue
void addValue(java.lang.Class<?> componentType, java.lang.Object value)
Adds a given value to the array, checking the given component type matches the previously stored component type.
-
-