X
- Type of keyY
- Type of valuepublic final class StickyMap<X,Y> extends MapEnvelope<X,Y>
The map is read-only.
There is no thread-safety guarantee.
Constructor and Description |
---|
StickyMap(Func<Z,Map.Entry<X,Y>> entry,
Iterable<Z> list)
Ctor.
|
StickyMap(Func<Z,Map.Entry<X,Y>> entry,
Map<X,Y> map,
Iterable<Z> list)
Ctor.
|
StickyMap(Func<Z,Map.Entry<X,Y>> entry,
Z... list)
Ctor.
|
StickyMap(Func<Z,X> key,
Func<Z,Y> value,
Iterable<Z> list)
Ctor.
|
StickyMap(Func<Z,X> key,
Func<Z,Y> value,
Map<X,Y> map,
Iterable<Z> list)
Ctor.
|
StickyMap(Iterable<Map.Entry<X,Y>> list)
Ctor.
|
StickyMap(Iterator<Map.Entry<X,Y>> list)
Ctor.
|
StickyMap(Map.Entry<X,Y>... list)
Ctor.
|
StickyMap(Map<X,Y> map)
Ctor.
|
StickyMap(Map<X,Y> map,
Iterable<Map.Entry<X,Y>> list)
Ctor.
|
StickyMap(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 StickyMap(Map.Entry<X,Y>... list)
list
- List of entries@SafeVarargs public StickyMap(Map<X,Y> map, Map.Entry<X,Y>... list)
map
- The map to extendlist
- List of entriespublic StickyMap(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 StickyMap(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 StickyMap(Func<Z,Map.Entry<X,Y>> entry, Z... list)
Z
- Type of items in the listlist
- List of itemsentry
- Func to create entrypublic StickyMap(Func<Z,Map.Entry<X,Y>> entry, Iterable<Z> list)
Z
- Type of items in the listlist
- List of itemsentry
- Func to create entrypublic StickyMap(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 StickyMap(Iterable<Map.Entry<X,Y>> list)
list
- Entries for the entriespublic StickyMap(Iterator<Map.Entry<X,Y>> list)
list
- Entries for the entriespublic StickyMap(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.