Enum Class Banks
- All Implemented Interfaces:
Serializable
,Comparable<Banks>
,Constable
List of banks.
- Author:
- hendrik
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Banks
getBySlotName(String slotName)
Returns the Banks instance for the specified slot name.Gets the slot name.static Banks
Returns the enum constant of this class with the specified name.static Banks[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SEMOS
bank in Semos. -
ADOS
bank in Ados. -
DENIRAN
bank in Deniran -
FADO
bank in Fado. -
NALWOR
bank in Nalwor. -
ZARAS
mini-bank in zaras house.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getSlotName
Gets the slot name.- Returns:
- slotName
-
getBySlotName
Returns the Banks instance for the specified slot name.- Parameters:
slotName
- name of bank slot- Returns:
- Banks enum instance or null
-