public void collapse() {
        if (defaults != null) {
            Enumeration keysEnum = defaults.keys();
            while (keysEnum.hasMoreElements()) {
                String key = (String) keysEnum.nextElement();
                put(key, get(key));
            }
            defaults = null;
        }
    }
public void collapse() {
        if (defaults != null) {
            Enumeration keysEnum = defaults.keys();
            while (keysEnum.hasMoreElements()) {
                String key = (String) keysEnum.nextElement();
                put(key, get(key));
            }
            defaults = null;
        }
    }
public void collapse ( ) { if ( defaults != null ) { Enumeration keysEnum = defaults . keys ( ) ; while ( keysEnum . hasMoreElements ( ) ) { String key = ( String ) keysEnum . nextElement ( ) ; put ( key , get ( key ) ) ; } defaults = null ; } }
Copy all the default values into the receiver.
Copy all the default values into the receiver .