Class DataStoreUtils


  • public final class DataStoreUtils
    extends java.lang.Object
    Utilities for data stores.
    Since:
    1.16
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private DataStoreUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String toString​(DataStore<?> dataStore)
      Returns a debug string for the given data store to be used as an implementation of Object.toString().
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataStoreUtils

        private DataStoreUtils()
    • Method Detail

      • toString

        public static java.lang.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.

        Parameters:
        dataStore - data store
        Returns:
        debug string