simulator_lib
Enum SimulatorMalicious.MAL_STRATEGY
java.lang.Object
java.lang.Enum<SimulatorMalicious.MAL_STRATEGY>
simulator_lib.SimulatorMalicious.MAL_STRATEGY
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SimulatorMalicious.MAL_STRATEGY>
- Enclosing class:
- SimulatorMalicious
public static enum SimulatorMalicious.MAL_STRATEGY
- extends java.lang.Enum<SimulatorMalicious.MAL_STRATEGY>
The MAL_STRATEGY enumeration lists malicious tactics that can be used
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NAIVE
public static final SimulatorMalicious.MAL_STRATEGY NAIVE
ISOLATED
public static final SimulatorMalicious.MAL_STRATEGY ISOLATED
COLLECTIVE
public static final SimulatorMalicious.MAL_STRATEGY COLLECTIVE
values
public static SimulatorMalicious.MAL_STRATEGY[] 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 (SimulatorMalicious.MAL_STRATEGY c : SimulatorMalicious.MAL_STRATEGY.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SimulatorMalicious.MAL_STRATEGY 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 name
java.lang.NullPointerException
- if the argument is null