public class StructLikeMap<T> extends java.util.AbstractMap<StructLike,T> implements java.util.Map<StructLike,T>
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
static <T> StructLikeMap<T> |
create(Types.StructType type) |
java.util.Set<java.util.Map.Entry<StructLike,T>> |
entrySet() |
T |
get(java.lang.Object key) |
boolean |
isEmpty() |
java.util.Set<StructLike> |
keySet() |
T |
put(StructLike key,
T value) |
T |
remove(java.lang.Object key) |
int |
size() |
<U> StructLikeMap<U> |
transformValues(java.util.function.Function<T,U> func) |
java.util.Collection<T> |
values() |
public static <T> StructLikeMap<T> create(Types.StructType type)
public int size()
size
in interface java.util.Map<StructLike,T>
size
in class java.util.AbstractMap<StructLike,T>
public boolean isEmpty()
isEmpty
in interface java.util.Map<StructLike,T>
isEmpty
in class java.util.AbstractMap<StructLike,T>
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map<StructLike,T>
containsKey
in class java.util.AbstractMap<StructLike,T>
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map<StructLike,T>
containsValue
in class java.util.AbstractMap<StructLike,T>
public T get(java.lang.Object key)
get
in interface java.util.Map<StructLike,T>
get
in class java.util.AbstractMap<StructLike,T>
public T put(StructLike key, T value)
put
in interface java.util.Map<StructLike,T>
put
in class java.util.AbstractMap<StructLike,T>
public T remove(java.lang.Object key)
remove
in interface java.util.Map<StructLike,T>
remove
in class java.util.AbstractMap<StructLike,T>
public void clear()
clear
in interface java.util.Map<StructLike,T>
clear
in class java.util.AbstractMap<StructLike,T>
public java.util.Set<StructLike> keySet()
keySet
in interface java.util.Map<StructLike,T>
keySet
in class java.util.AbstractMap<StructLike,T>
public java.util.Collection<T> values()
values
in interface java.util.Map<StructLike,T>
values
in class java.util.AbstractMap<StructLike,T>
public java.util.Set<java.util.Map.Entry<StructLike,T>> entrySet()
entrySet
in interface java.util.Map<StructLike,T>
entrySet
in class java.util.AbstractMap<StructLike,T>
public <U> StructLikeMap<U> transformValues(java.util.function.Function<T,U> func)