public final class AvroMapWrapper
extends java.lang.Object
implements java.util.Map<java.lang.CharSequence,java.lang.Object>
Constructor and Description |
---|
AvroMapWrapper(java.util.Map<java.lang.CharSequence,java.lang.Object> m)
Creates a new AvroMapWrapper object from the map object .
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<java.lang.CharSequence,java.lang.Object>> |
entrySet() |
java.lang.Object |
get(java.lang.Object key) |
boolean |
isEmpty() |
java.util.Set<java.lang.CharSequence> |
keySet() |
java.lang.Object |
put(java.lang.CharSequence key,
java.lang.Object value) |
void |
putAll(java.util.Map<? extends java.lang.CharSequence,? extends java.lang.Object> m) |
java.lang.Object |
remove(java.lang.Object key) |
int |
size() |
java.util.Collection<java.lang.Object> |
values() |
public AvroMapWrapper(java.util.Map<java.lang.CharSequence,java.lang.Object> m)
m
- The map to wrap.public int size()
size
in interface java.util.Map<java.lang.CharSequence,java.lang.Object>
public boolean isEmpty()
isEmpty
in interface java.util.Map<java.lang.CharSequence,java.lang.Object>
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map<java.lang.CharSequence,java.lang.Object>
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map<java.lang.CharSequence,java.lang.Object>
public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map<java.lang.CharSequence,java.lang.Object>
public java.lang.Object put(java.lang.CharSequence key, java.lang.Object value)
put
in interface java.util.Map<java.lang.CharSequence,java.lang.Object>
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map<java.lang.CharSequence,java.lang.Object>
public void putAll(java.util.Map<? extends java.lang.CharSequence,? extends java.lang.Object> m)
putAll
in interface java.util.Map<java.lang.CharSequence,java.lang.Object>
public void clear()
clear
in interface java.util.Map<java.lang.CharSequence,java.lang.Object>
public java.util.Set<java.lang.CharSequence> keySet()
keySet
in interface java.util.Map<java.lang.CharSequence,java.lang.Object>
public java.util.Collection<java.lang.Object> values()
values
in interface java.util.Map<java.lang.CharSequence,java.lang.Object>
public java.util.Set<java.util.Map.Entry<java.lang.CharSequence,java.lang.Object>> entrySet()
entrySet
in interface java.util.Map<java.lang.CharSequence,java.lang.Object>
Copyright © 2007-2017 The Apache Software Foundation