org.ho.yaml.wrapper
Class DefaultMapWrapper
java.lang.Object
org.ho.yaml.wrapper.AbstractWrapper
org.ho.yaml.wrapper.DefaultMapWrapper
- All Implemented Interfaces:
- MapWrapper, ObjectWrapper
public class DefaultMapWrapper
- extends AbstractWrapper
- implements MapWrapper
Method Summary |
boolean |
containsKey(java.lang.Object key)
|
java.lang.Object |
get(java.lang.Object key)
|
java.lang.Class |
getExpectedType(java.lang.Object key)
|
java.util.Set |
keys()
|
void |
put(java.lang.Object key,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefaultMapWrapper
public DefaultMapWrapper(java.lang.Class type)
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interface MapWrapper
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in interface MapWrapper
put
public void put(java.lang.Object key,
java.lang.Object value)
- Specified by:
put
in interface MapWrapper
getExpectedType
public java.lang.Class getExpectedType(java.lang.Object key)
- Specified by:
getExpectedType
in interface MapWrapper
keys
public java.util.Set keys()
- Specified by:
keys
in interface MapWrapper