Package com.google.api.client.util.store
Class DataStoreUtils
- java.lang.Object
-
- com.google.api.client.util.store.DataStoreUtils
-
public final class DataStoreUtils extends Object
Utilities for data stores.- Since:
- 1.16
- Author:
- Yaniv Inbar
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
toString(DataStore<?> dataStore)
Returns a debug string for the given data store to be used as an implementation ofObject.toString()
.
-
-
-
Method Detail
-
toString
public static String toString(DataStore<?> dataStore)
Returns a debug string for the given data store to be used as an implementation ofObject.toString()
.Implementation iterates over
DataStore.keySet()
, callingDataStore.get(String)
on each key.- Parameters:
dataStore
- data store- Returns:
- debug string
-
-