teensy javadoc

This commit is contained in:
Leijurv 2019-03-04 21:49:21 -08:00
parent 8050b69f2f
commit b3c580e657
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -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;
} }