Uses of Class
org.opendaylight.yangtools.util.SharedSingletonMap
-
Packages that use SharedSingletonMap Package Description org.opendaylight.yangtools.util -
-
Uses of SharedSingletonMap in org.opendaylight.yangtools.util
Methods in org.opendaylight.yangtools.util that return SharedSingletonMap Modifier and Type Method Description <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.<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()
.
-