ModeType
- type of modes being listedpublic interface ModeStatusList<ModeType extends Mode>
Modifier and Type | Method and Description |
---|---|
boolean |
contains(ModeType mode)
Gets if the given mode is present in the list.
|
boolean |
containsMode(char mode)
Gets if the given mode character is present in the list.
|
@NonNull List<ModeStatus<ModeType>> |
getAll()
Gets the list of statuses.
|
@NonNull String |
getAsString()
Gets the statuses in a convenient String format.
|
@NonNull List<ModeStatus<ModeType>> |
getByMode(char mode)
Gets all mode statuses of a given mode character.
|
@NonNull List<ModeStatus<ModeType>> |
getByMode(ModeType mode)
Gets all mode statuses of a given mode.
|
boolean contains(ModeType mode)
mode
- mode to checkboolean containsMode(char mode)
mode
- mode to check@NonNull List<ModeStatus<ModeType>> getByMode(ModeType mode)
mode
- mode to check@NonNull List<ModeStatus<ModeType>> getByMode(char mode)
mode
- mode to check@NonNull List<ModeStatus<ModeType>> getAll()
@NonNull String getAsString()
Copyright © 2013–2021 Kitteh. All rights reserved.