Package com.twelvemonkeys.util
Class BeanMap
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
A
Map adapter for a Java Bean.
Ruthlessly stolen from Binkley's Blog
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
BeanMap
- Throws:
IntrospectionException
-
-
Method Details
-
entrySet
-
get
-
put
-
remove
-
size
public int size()
-