teensy javadoc
This commit is contained in:
parent
8050b69f2f
commit
b3c580e657
@ -721,6 +721,11 @@ public final class Settings {
|
|||||||
this.klass = (Class<T>) value.getClass();
|
this.klass = (Class<T>) value.getClass();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Deprecated! Please use .value directly instead
|
||||||
|
*
|
||||||
|
* @return the current setting value
|
||||||
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public final T get() {
|
public final T get() {
|
||||||
return value;
|
return value;
|
||||||
@ -739,6 +744,9 @@ public final class Settings {
|
|||||||
return SettingsUtil.settingToString(this);
|
return SettingsUtil.settingToString(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reset this setting to its default value
|
||||||
|
*/
|
||||||
public void reset() {
|
public void reset() {
|
||||||
value = defaultValue;
|
value = defaultValue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user