org.biojava.utils
Class BeanAsMap
java.lang.Object
java.util.AbstractMap
org.biojava.utils.BeanAsMap
- All Implemented Interfaces:
- Map
public class BeanAsMap
- extends AbstractMap
- Author:
- Matthew Pocock
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.util.AbstractMap |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, toString, values |
BeanAsMap
public BeanAsMap(Object bean)
throws IntrospectionException
- Throws:
IntrospectionException
size
public int size()
- Specified by:
size
in interface Map
- Overrides:
size
in class AbstractMap
entrySet
public Set entrySet()
- Specified by:
entrySet
in interface Map
- Specified by:
entrySet
in class AbstractMap
put
public Object put(Object key,
Object value)
- Specified by:
put
in interface Map
- Overrides:
put
in class AbstractMap