Interface ModifiableMapPhase<K,​V>

    • Method Detail

      • toUnmodifiableMap

        @NonNull Map<K,​V> toUnmodifiableMap()
        Return an isolated unmodifiable version of this map. Returned object must not allow removal, addition or changing of mappings. Its mappings must match the mappings currently present in this map, but must not be affected by any subsequent changes to this map.
        Returns:
        An unmodifiable version of this map.