|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.client.util.DataUtil
Data
@Deprecated public class DataUtil
Utilities for working with key/value data.
| Method Summary | ||
|---|---|---|
static
|
clone(T data)
Deprecated. (scheduled to be removed in 1.5) Use Data.deepCopy(Object, Object) or
Data.clone(Object) |
|
static Map<String,Object> |
mapOf(Object data)
Deprecated. (scheduled to be removed in 1.5) Use Data.mapOf(Object) |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
@Deprecated public static Map<String,Object> mapOf(Object data)
Data.mapOf(Object)
data - any key value data, represented by an object or a map, or null
data is a map returns data; else if data is null,
returns an empty map; else returns ReflectionMap on the data object@Deprecated public static <T> T clone(T data)
Data.deepCopy(Object, Object) or
Data.clone(Object)
Note that final fields cannot be changed and therefore their value won't be copied.
data - key/value data object or map to clone or null for a null return
value
null for null input
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||