Package com.google.api.client.test.json
Class AbstractJsonFactoryTest.ExtendsGenericJson
- java.lang.Object
-
- java.util.AbstractMap<java.lang.String,java.lang.Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.client.test.json.AbstractJsonFactoryTest.ExtendsGenericJson
-
- All Implemented Interfaces:
java.lang.Cloneable
,java.util.Map<java.lang.String,java.lang.Object>
- Enclosing class:
- AbstractJsonFactoryTest
public static class AbstractJsonFactoryTest.ExtendsGenericJson extends GenericJson
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Long
numAsString
-
Constructor Summary
Constructors Constructor Description ExtendsGenericJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractJsonFactoryTest.ExtendsGenericJson
set(java.lang.String fieldName, java.lang.Object value)
Sets the given field value (may benull
) for the given field name.-
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
-
-
-
-
Method Detail
-
set
public AbstractJsonFactoryTest.ExtendsGenericJson set(java.lang.String fieldName, java.lang.Object value)
Description copied from class:GenericData
Sets the given field value (may benull
) for the given field name. Any existing value for the field will be overwritten. It may be more slightly more efficient thanGenericData.put(String, Object)
because it avoids accessing the field's original value.Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
- Overrides:
set
in classGenericJson
-
-