plugins.big.bigsnake.snake
Enum ESnakeEnergyType

java.lang.Object
  extended by java.lang.Enum<ESnakeEnergyType>
      extended by plugins.big.bigsnake.snake.ESnakeEnergyType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ESnakeEnergyType>

public enum ESnakeEnergyType
extends java.lang.Enum<ESnakeEnergyType>

Types of energy of the E-Snake.

Version:
May 3, 2014
Author:
Ricard Delgado-Gonzalo (ricard.delgado@gmail.com)

Enum Constant Summary
CONTOUR
           
MIXTURE
           
REGION
           
 
Method Summary
static ESnakeEnergyType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ESnakeEnergyType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CONTOUR

public static final ESnakeEnergyType CONTOUR

REGION

public static final ESnakeEnergyType REGION

MIXTURE

public static final ESnakeEnergyType MIXTURE
Method Detail

values

public static ESnakeEnergyType[] 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 (ESnakeEnergyType c : ESnakeEnergyType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ESnakeEnergyType 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