nz.ac.waikato.mcennis.rat.graph.descriptors
Enum IODescriptor.Type
java.lang.Object
java.lang.Enum<IODescriptor.Type>
nz.ac.waikato.mcennis.rat.graph.descriptors.IODescriptor.Type
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<IODescriptor.Type>
- Enclosing interface:
- IODescriptor
public static enum IODescriptor.Type
- extends java.lang.Enum<IODescriptor.Type>
Set of all enumerations representing each type of input that an algorithm
can consume.
- ACTOR - Algorithm behavior changes becuase of the presence or absence of actors.
- ACTOR_PROPERTY - Reads properties of an actor property.
- GRAPH - Algorithm behavior changes because of the presense or absense of graphs.
- GRAPH_PROPERTY - Reads properties of a graph.
- LINK - Reads the existance or strength of links.
- PATHSET - Utilizes a path set in the algorithm.
Method Summary |
static IODescriptor.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IODescriptor.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ACTOR
public static final IODescriptor.Type ACTOR
ACTOR_PROPERTY
public static final IODescriptor.Type ACTOR_PROPERTY
GRAPH
public static final IODescriptor.Type GRAPH
GRAPH_PROPERTY
public static final IODescriptor.Type GRAPH_PROPERTY
LINK
public static final IODescriptor.Type LINK
LINK_PROPERTY
public static final IODescriptor.Type LINK_PROPERTY
PATHSET
public static final IODescriptor.Type PATHSET
values
public static final IODescriptor.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(IODescriptor.Type c : IODescriptor.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static IODescriptor.Type 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