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