Kactoos

kactoos-jvm / nnl.rocks.kactoos.map / SyncMap / <init>

<init>

SyncMap(vararg list: Entry<X, Y>) SyncMap(map: Map<X, Y>, vararg list: Entry<X, Y>) SyncMap(list: Iterable<Entry<X, Y>>) SyncMap(map: Map<X, Y>, list: Iterable<Entry<X, Y>>)SyncMap(map: Map<X, Y>)

Map decorator that goes through the map only once.

The map is read-only.

Objects of this class are thread-safe.

Parameters

X - Type of key

Y - Type of value

Since 0.4