Package com.perforce.p4java.mapapi
Enum MapFlag
- java.lang.Object
-
- java.lang.Enum<MapFlag>
-
- com.perforce.p4java.mapapi.MapFlag
-
-
Field Summary
Fields Modifier and Type Field Description int
code
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MapFlag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MapFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MfMap
public static final MapFlag MfMap
-
MfUnmap
public static final MapFlag MfUnmap
-
MfRemap
public static final MapFlag MfRemap
-
MfHavemap
public static final MapFlag MfHavemap
-
MfChangemap
public static final MapFlag MfChangemap
-
MfAndmap
public static final MapFlag MfAndmap
-
MfStream1
public static final MapFlag MfStream1
-
MfStream2
public static final MapFlag MfStream2
-
MfStream3
public static final MapFlag MfStream3
-
MfStream5
public static final MapFlag MfStream5
-
MfStream6
public static final MapFlag MfStream6
-
MfStream7
public static final MapFlag MfStream7
-
MfStream8
public static final MapFlag MfStream8
-
-
Method Detail
-
values
public static MapFlag[] 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 (MapFlag c : MapFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MapFlag 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
-
-