simulator_lib
Enum SimulatorMalicious.MAL_STRATEGY

java.lang.Object
  extended by java.lang.Enum<SimulatorMalicious.MAL_STRATEGY>
      extended by 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


Enum Constant Summary
COLLECTIVE
           
ISOLATED
           
NAIVE
           
 
Method Summary
static SimulatorMalicious.MAL_STRATEGY valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SimulatorMalicious.MAL_STRATEGY[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

NAIVE

public static final SimulatorMalicious.MAL_STRATEGY NAIVE

ISOLATED

public static final SimulatorMalicious.MAL_STRATEGY ISOLATED

COLLECTIVE

public static final SimulatorMalicious.MAL_STRATEGY COLLECTIVE
Method Detail

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