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