cdm/src/main/java/ucar/util/prefs/PreferencesExt.java
public List getList(String key, List def) {
      try {
        Object bean = getBean(key, def);
        return (List) bean;
      } catch (Exception e) {
        e.printStackTrace();
        return null;
      }
    }
public List getList(String key, List def) {
      try {
        Object bean = getBean(key, def);
        return (List) bean;
      } catch (Exception e) {
        e.printStackTrace();
        return null;
      }
    }
public List getList ( String key , List def ) { try { Object bean = getBean ( key , def ) ; return ( List ) bean ; } catch ( Exception e ) { e . printStackTrace ( ) ; return null ; } }
Get an arrayList. This returns a copy of the stored list.

@param key key whose associated value is to be returned.
@param def the value to be returned in the event that this
preference node has no value associated with <tt>key</tt>.
@return the value associated with <tt>key</tt>, or <tt>def</tt>
if no value is associated with <tt>key</tt>.
Get an arrayList . This returns a copy of the stored list .