Enum Class VMFlags
- All Implemented Interfaces:
Serializable, Comparable<VMFlags>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(int flag) Returns true if the flag provided as int is equal to the enumstatic VMFlagsfindFlag(int flag) Returns the VMFlags Type of the given int or nullintgetFlag()static VMFlagsReturns the enum constant of this class with the specified name.static VMFlags[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VM_FC
-
VM_FZ
-
VM_FS
-
-
Field Details
-
flag
private final int flag
-
-
Constructor Details
-
VMFlags
private VMFlags(int flag)
-
-
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
-
findFlag
Returns the VMFlags Type of the given int or null- Parameters:
flag- as int- Returns:
- VMFlag of the int value
-
equals
public boolean equals(int flag) Returns true if the flag provided as int is equal to the enum- Parameters:
flag- .- Returns:
- returns true if the flag is equal to the enum
-
getFlag
public int getFlag()- Returns:
- the flag as int
-