public void putBeanCollection ( String key , Collection newValue ) { // if matches a stored Default, dont store Object oldValue = getBean ( key , null ) ; if ( ( oldValue == null ) || ! oldValue . equals ( newValue ) ) keyValues . put ( key , new Bean . Collection ( newValue ) ) ; }
Stores a Collection of beans . The beans are stored using simple bean properties . The collection of beans must all be of the same class .