org.debellor.core
Enum Cell.CellMethod
java.lang.Object
java.lang.Enum<Cell.CellMethod>
org.debellor.core.Cell.CellMethod
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Cell.CellMethod>
- Enclosing class:
- Cell
public static enum Cell.CellMethod
- extends java.lang.Enum<Cell.CellMethod>
IDs of Cell's methods, used for error reporting.
Names of the constants are written lower-case to match exactly the names of methods.
Method Summary |
static Cell.CellMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Cell.CellMethod[] |
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 |
set
public static final Cell.CellMethod set
setParameters
public static final Cell.CellMethod setParameters
newThread
public static final Cell.CellMethod newThread
setSource
public static final Cell.CellMethod setSource
learn
public static final Cell.CellMethod learn
erase
public static final Cell.CellMethod erase
open
public static final Cell.CellMethod open
next
public static final Cell.CellMethod next
close
public static final Cell.CellMethod close
values
public static Cell.CellMethod[] 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 (Cell.CellMethod c : Cell.CellMethod.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Cell.CellMethod 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