tuweni / org.apache.tuweni.kv / MapKeyValueStore / open

open

@JvmStatic fun <K, V> open(): MapKeyValueStore<K, V> (source)

Open an in-memory key-value store.

This store will use a java.util.HashMap as a backing store.

Return
A key-value store.

@JvmStatic fun <K, V> open(map: MutableMap<K, V>): MapKeyValueStore<K, V> (source)

Open an in-memory key-value store.

Parameters

map - The backing map for this store.

Return
A key-value store.