| Package | Description |
|---|---|
| me.lucko.helper.setting |
| Modifier and Type | Class and Description |
|---|---|
class |
SettingMap<S extends Setting<V>,V extends Setting.State>
Represents a map of states of a given realm of settings.
|
class |
SettingMapFactory<S extends Setting<V>,V extends Setting.State>
Creates and decodes
SettingMaps for a given realm of settings and states. |
| Modifier and Type | Method and Description |
|---|---|
static <S extends Enum<S> & Setting<V>,V extends Enum<V> & Setting.State> |
SettingMapFactory.create(Class<S> settingsEnum,
Class<V> statesEnum)
|
static <S extends Setting<V>,V extends Setting.State> |
SettingMapFactory.create(S[] settings,
V[] states)
|
| Modifier and Type | Method and Description |
|---|---|
S[] |
SettingMapFactory.getSettings()
Gets the
Setting instances. |
| Modifier and Type | Method and Description |
|---|---|
static <S extends Setting<V>,V extends Setting.State> |
SettingMapFactory.create(S[] settings,
V[] states)
|
Copyright © 2020. All rights reserved.