Uses of Class
org.opendaylight.yangtools.util.SharedSingletonMap
Packages that use SharedSingletonMap
-
Uses of SharedSingletonMap in org.opendaylight.yangtools.util
Methods in org.opendaylight.yangtools.util that return SharedSingletonMapModifier and TypeMethodDescriptionfinal <T,
V> @NonNull SharedSingletonMap<K, V> SharedSingletonMapTemplate.instantiateTransformed
(Map<K, T> fromMap, BiFunction<K, T, V> valueTransformer) abstract <V> @NonNull SharedSingletonMap<K,
V> SharedSingletonMapTemplate.instantiateWithValue
(V value) Instantiate an immutable map with the value supplied.final <V> @NonNull SharedSingletonMap<K,
V> SharedSingletonMapTemplate.instantiateWithValues
(V... values) static <K,
V> @NonNull SharedSingletonMap<K, V> SharedSingletonMap.orderedCopyOf
(Map<K, V> map) Create aSharedSingletonMap
of specifiedkey
andvalue
, which retains insertion order when transformed viaUnmodifiableMapPhase.toModifiableMap()
.static <K,
V> @NonNull SharedSingletonMap<K, V> SharedSingletonMap.orderedOf
(K key, V value) Create aSharedSingletonMap
of specifiedkey
andvalue
, which retains insertion order when transformed viaUnmodifiableMapPhase.toModifiableMap()
.static <K,
V> @NonNull SharedSingletonMap<K, V> SharedSingletonMap.unorderedCopyOf
(Map<K, V> map) Create aSharedSingletonMap
from specified single-element map, which does not retain insertion order when transformed viaUnmodifiableMapPhase.toModifiableMap()
.static <K,
V> @NonNull SharedSingletonMap<K, V> SharedSingletonMap.unorderedOf
(K key, V value) Create aSharedSingletonMap
of specifiedkey
andvalue
, which does not retain insertion order when transformed viaUnmodifiableMapPhase.toModifiableMap()
.