Class StringMaps

    • Method Detail

      • synchronize

        public static <T extends CharSequenceStringMap<T> synchronize​(StringMap<T> stringMap)
        Returns a synchronized string map backed by the given string map.
        Parameters:
        stringMap - the string map to be wrapped in a synchronized map.
        Returns:
        a synchronized view of the specified string map.
      • synchronize

        public static <T extends CharSequencePrefixMap<T> synchronize​(PrefixMap<T> prefixMap)
        Returns a synchronized prefix map backed by the given prefix map.
        Parameters:
        prefixMap - the prefix map to be wrapped in a synchronized map.
        Returns:
        a synchronized view of the specified prefix map.