this.session = session;
Map map = (Map) session.get(PREFERENCES_KEY); if (map == null) { map = new HashMap(); session.put(PREFERENCES_KEY, map); } return map;
return new Vector(getMap().keySet()).elements();
String val = (String) getMap().get(key); if (val == null) { val = def; } return val;
String[] val = (String[]) getMap().get(key); if (val == null) { val = def; } return val;
return false;
session.put(PREFERENCES_KEY, new HashMap());
getMap().put(key, value);