Package jnr.posix
Enum AixPOSIX.FlockFlags
- java.lang.Object
-
- java.lang.Enum<AixPOSIX.FlockFlags>
-
- jnr.posix.AixPOSIX.FlockFlags
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AixPOSIX.FlockFlags>
- Enclosing class:
- AixPOSIX
private static enum AixPOSIX.FlockFlags extends java.lang.Enum<AixPOSIX.FlockFlags>
-
-
Field Summary
Fields Modifier and Type Field Description private int
value
-
Constructor Summary
Constructors Modifier Constructor Description private
FlockFlags(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
intValue()
static AixPOSIX.FlockFlags
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AixPOSIX.FlockFlags[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCK_SH
public static final AixPOSIX.FlockFlags LOCK_SH
-
LOCK_EX
public static final AixPOSIX.FlockFlags LOCK_EX
-
LOCK_NB
public static final AixPOSIX.FlockFlags LOCK_NB
-
LOCK_UN
public static final AixPOSIX.FlockFlags LOCK_UN
-
-
Method Detail
-
values
public static AixPOSIX.FlockFlags[] 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 (AixPOSIX.FlockFlags c : AixPOSIX.FlockFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AixPOSIX.FlockFlags valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
intValue
public final int intValue()
-
-