public enum C4ReplicatorMode extends Enum<C4ReplicatorMode>
Enum Constant and Description |
---|
C4_CONTINUOUS |
C4_DISABLED |
C4_ONE_SHOT |
C4_PASSIVE |
Modifier and Type | Method and Description |
---|---|
int |
getVal() |
static C4ReplicatorMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static C4ReplicatorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final C4ReplicatorMode C4_DISABLED
public static final C4ReplicatorMode C4_PASSIVE
public static final C4ReplicatorMode C4_ONE_SHOT
public static final C4ReplicatorMode C4_CONTINUOUS
public static C4ReplicatorMode[] values()
for (C4ReplicatorMode c : C4ReplicatorMode.values()) System.out.println(c);
public static C4ReplicatorMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getVal()