X - Type of keyY - Type of valuepublic final class SyncMap<X,Y> extends MapEnvelope<X,Y>
The map is read-only.
Objects of this class are thread-safe.
| Constructor and Description |
|---|
SyncMap(Func<Z,Map.Entry<X,Y>> entry,
Iterable<Z> list)
Ctor.
|
SyncMap(Func<Z,Map.Entry<X,Y>> entry,
Map<X,Y> map,
Iterable<Z> list)
Ctor.
|
SyncMap(Func<Z,Map.Entry<X,Y>> entry,
Z... list)
Ctor.
|
SyncMap(Func<Z,X> key,
Func<Z,Y> value,
Map<X,Y> map,
Iterable<Z> list)
Ctor.
|
SyncMap(Iterable<Map.Entry<X,Y>> list)
Ctor.
|
SyncMap(Iterable<Z> list,
Func<Z,X> key,
Func<Z,Y> value)
Ctor.
|
SyncMap(Iterator<Map.Entry<X,Y>> list)
Ctor.
|
SyncMap(Map.Entry<X,Y>... list)
Ctor.
|
SyncMap(Map<X,Y> map)
Ctor.
|
SyncMap(Map<X,Y> map,
Iterable<Map.Entry<X,Y>> list)
Ctor.
|
SyncMap(Map<X,Y> map,
Map.Entry<X,Y>... list)
Ctor.
|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll@SafeVarargs public SyncMap(Map.Entry<X,Y>... list)
list - List of entries@SafeVarargs public SyncMap(Map<X,Y> map, Map.Entry<X,Y>... list)
map - The map to extendlist - List of entriespublic SyncMap(Func<Z,X> key, Func<Z,Y> value, Map<X,Y> map, Iterable<Z> list)
Z - Type of items in the listmap - The map to extendlist - List of itemskey - Func to create keyvalue - Func to create valuepublic SyncMap(Iterable<Z> list, Func<Z,X> key, Func<Z,Y> value)
Z - Type of items in the listlist - List of itemskey - Func to create keyvalue - Func to create value@SafeVarargs public SyncMap(Func<Z,Map.Entry<X,Y>> entry, Z... list)
Z - Type of items in the listlist - List of itemsentry - Func to create entrypublic SyncMap(Func<Z,Map.Entry<X,Y>> entry, Iterable<Z> list)
Z - Type of items in the listlist - List of itemsentry - Func to create entrypublic SyncMap(Func<Z,Map.Entry<X,Y>> entry, Map<X,Y> map, Iterable<Z> list)
Z - Type of items in the listmap - The map to extendlist - List of itemsentry - Func to create entrypublic SyncMap(Iterable<Map.Entry<X,Y>> list)
list - Entries for the entriespublic SyncMap(Iterator<Map.Entry<X,Y>> list)
list - Entries for the entriespublic SyncMap(Map<X,Y> map, Iterable<Map.Entry<X,Y>> list)
map - Pre-existing map we want to extendlist - Entries for the entriesCopyright © 2017–2018 Cactoos. All rights reserved.