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