Package cn.toutatis.xvoid.toolkit.sys
Enum OSToolkit
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
Modifier and Type Method Description final StringgetOSType()final BooleanisWindowsSystem()final BooleanisLinuxSystem()final OSToolkitvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<OSToolkit>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<OSToolkit>getEntries()-
-
Method Detail
-
isWindowsSystem
final Boolean isWindowsSystem()
-
isLinuxSystem
final Boolean isLinuxSystem()
-
valueOf
final OSToolkit 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<OSToolkit> 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<OSToolkit> getEntries()
-
-
-
-