Package com.nexomc.nexo.utils
Enum TriState
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTriState.Companion
-
Method Summary
Modifier and Type Method Description final BooleantoBooleanOrNull()final BooleantoBoolean(Boolean default)final TriStatevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<TriState>values()Returns an array containing the constants of this enum type, in the order they're declared. final BooleanisTrue()final BooleanisFalse()final BooleanisSet()final EnumEntries<TriState>getEntries()-
-
Method Detail
-
toBooleanOrNull
final Boolean toBooleanOrNull()
-
valueOf
final TriState valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<TriState> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<TriState> getEntries()
-
-
-
-