ua.gradsoft.termware.debug
Enum TermLocationDirection

java.lang.Object
  extended by java.lang.Enum<TermLocationDirection>
      extended by ua.gradsoft.termware.debug.TermLocationDirection
All Implemented Interfaces:
Serializable, Comparable<TermLocationDirection>

public enum TermLocationDirection
extends Enum<TermLocationDirection>

Where generate mapping of code to term: from dirst or last line ?

Author:
rssh

Enum Constant Summary
BEGIN_LINE
           
END_LINE
           
 
Method Summary
static TermLocationDirection valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TermLocationDirection[] 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

BEGIN_LINE

public static final TermLocationDirection BEGIN_LINE

END_LINE

public static final TermLocationDirection END_LINE
Method Detail

values

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

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

valueOf

public static TermLocationDirection valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null