Package software.amazon.awssdk.core.util
Class DefaultSdkAutoConstructMap<K,V>
- java.lang.Object
-
- software.amazon.awssdk.core.util.DefaultSdkAutoConstructMap<K,V>
-
- Type Parameters:
K
- The key type.V
- The value type.
- All Implemented Interfaces:
Map<K,V>
,SdkAutoConstructMap<K,V>
public final class DefaultSdkAutoConstructMap<K,V> extends Object implements SdkAutoConstructMap<K,V>
Default implementation ofSdkAutoConstructMap
.This is an empty, unmodifiable map.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set<Map.Entry<K,V>>
entrySet()
boolean
equals(Object o)
V
get(Object key)
static <K,V>
DefaultSdkAutoConstructMap<K,V>getInstance()
int
hashCode()
boolean
isEmpty()
Set<K>
keySet()
V
put(K key, V value)
void
putAll(Map<? extends K,? extends V> m)
V
remove(Object key)
int
size()
String
toString()
Collection<V>
values()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
getInstance
public static <K,V> DefaultSdkAutoConstructMap<K,V> getInstance()
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<K,V>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<K,V>
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
-