Class LongListSetting
java.lang.Object
gg.xp.xivsupport.persistence.settings.ObservableSetting
gg.xp.xivsupport.persistence.settings.LongListSetting
- All Implemented Interfaces:
Resettable
-
Constructor Summary
ConstructorsConstructorDescriptionLongListSetting
(PersistenceProvider persistence, String settingKey, long[] dflt) -
Method Summary
Methods inherited from class gg.xp.xivsupport.persistence.settings.ObservableSetting
addAndRunListener, addListener, notifyListeners, removeListener
-
Constructor Details
-
LongListSetting
-
-
Method Details
-
get
-
set
-
mutate
Modify the list according to a mutator function. The function receives a copy of the list of values, and should modify the list in-place. If the list was changed, then the modified list will become the new values.- Parameters:
mutator
- The function- Returns:
- whether any modifications were made.
-
isSet
public boolean isSet()- Specified by:
isSet
in interfaceResettable
-
delete
public void delete()- Specified by:
delete
in interfaceResettable
-