Package org.apache.iceberg.util
Class SerializableMap<K,V>
- java.lang.Object
-
- org.apache.iceberg.util.SerializableMap<K,V>
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.Map<K,V>
public class SerializableMap<K,V> extends java.lang.Object implements java.util.Map<K,V>, java.io.Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(java.lang.Object key)
boolean
containsValue(java.lang.Object value)
static <K,V>
SerializableMap<K,V>copyOf(java.util.Map<K,V> map)
java.util.Set<java.util.Map.Entry<K,V>>
entrySet()
boolean
equals(java.lang.Object o)
static <K,V>
SerializableMap<K,V>filteredCopyOf(java.util.Map<K,V> map, java.util.Set<K> keys)
V
get(java.lang.Object key)
int
hashCode()
java.util.Map<K,V>
immutableMap()
boolean
isEmpty()
java.util.Set<K>
keySet()
V
put(K key, V value)
void
putAll(java.util.Map<? extends K,? extends V> m)
V
remove(java.lang.Object key)
int
size()
java.util.Collection<V>
values()
-
-
-
Method Detail
-
copyOf
public static <K,V> SerializableMap<K,V> copyOf(java.util.Map<K,V> map)
-
filteredCopyOf
public static <K,V> SerializableMap<K,V> filteredCopyOf(java.util.Map<K,V> map, java.util.Set<K> keys)
-
containsKey
public boolean containsKey(java.lang.Object key)
-
containsValue
public boolean containsValue(java.lang.Object value)
-
values
public java.util.Collection<V> values()
-
equals
public boolean equals(java.lang.Object o)
-
-