Enum RuntimeUtil.AccessDirection
- Object
-
- Enum<RuntimeUtil.AccessDirection>
-
- AccessDirection
-
- All Implemented Interfaces:
Serializable
,Comparable<RuntimeUtil.AccessDirection>
- Enclosing class:
- RuntimeUtil
public static enum RuntimeUtil.AccessDirection extends Enum<RuntimeUtil.AccessDirection>
-
-
Method Summary
All Methods Modifier and Type Method Description static RuntimeUtil.AccessDirection
valueOf(String name)
Returns the enum constant of this type with the specified name.static RuntimeUtil.AccessDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ
public static final RuntimeUtil.AccessDirection READ
-
WRITE
public static final RuntimeUtil.AccessDirection WRITE
-
-
Method Detail
-
values
public static RuntimeUtil.AccessDirection[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RuntimeUtil.AccessDirection c : RuntimeUtil.AccessDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RuntimeUtil.AccessDirection valueOf(String name)
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-