All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cdc.util.prefs.defaults.StringPreference Maven / Gradle / Ivy

package cdc.util.prefs.defaults;

import java.util.prefs.Preferences;

import cdc.util.prefs.AbstractPreference;

/**
 * String preference (node, key) pair.
 *
 * @author Damien Carbonne
 */
public final class StringPreference extends AbstractPreference {
    public StringPreference(Preferences node,
                            String key,
                            String def) {
        super(String.class,
              node,
              key,
              def,
              s -> s,
              s -> s);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy