Class DataStoreUtils (1.42.3)

public final class DataStoreUtils

Utilities for data stores.

Inheritance

java.lang.Object > DataStoreUtils

Static Methods

toString(DataStore<?> dataStore)

public static String toString(DataStore<?> dataStore)

Returns a debug string for the given data store to be used as an implementation of Object#toString().

Implementation iterates over DataStore#keySet(), calling DataStore#get(String) on each key.

Parameter
NameDescription
dataStoreDataStore<?>

data store

Returns
TypeDescription
String

debug string