| Package | Description |
|---|---|
| me.lucko.helper.setting |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Setting<V extends Setting.State>
Represents a setting.
|
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 | Class and Description |
|---|---|
class |
Tristate |
| 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 |
|---|---|
V[] |
SettingMapFactory.getStates()
Gets the
Setting.State instances. |
| Modifier and Type | Method and Description |
|---|---|
static <S extends Setting<V>,V extends Setting.State> |
SettingMapFactory.create(S[] settings,
V[] states)
|
Copyright © 2022. All rights reserved.