T - The setting typepublic abstract static class Preferences.AbstractSetting<T> extends java.lang.Object implements Preferences.Setting<T>
| Constructor and Description |
|---|
AbstractSetting(T value)
Constructs a new
AbstractSetting with the given value |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
T |
getValue()
Returns the value of this setting.
|
int |
hashCode() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopy, equalVal, getNullInstance, visitpublic AbstractSetting(T value)
AbstractSetting with the given valuevalue - The setting valuepublic T getValue()
Preferences.SettinggetValue in interface Preferences.Setting<T>public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object