|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<TransformationMode.Mode>
ptolemy.actor.gt.TransformationMode.Mode
public static enum TransformationMode.Mode
The enumeration of accepted modes.
| Red (tfeng) |
| Yellow (tfeng) |
| Enum Constant Summary | |
|---|---|
MATCH_ONLY
Perform pattern matching only without transformation. |
|
REPLACE_ALL
Replace all the occurrences of the pattern, if possible. |
|
REPLACE_ANY
Replace a randomly selected occurrence of the pattern. |
|
REPLACE_FIRST
Replace only the first occurrence of the pattern. |
|
REPLACE_LAST
Replace only the last occurrence of the pattern. |
|
| Method Summary | |
|---|---|
static TransformationMode.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TransformationMode.Mode[] |
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 |
| Enum Constant Detail |
|---|
public static final TransformationMode.Mode REPLACE_FIRST
public static final TransformationMode.Mode REPLACE_LAST
public static final TransformationMode.Mode REPLACE_ANY
public static final TransformationMode.Mode REPLACE_ALL
public static final TransformationMode.Mode MATCH_ONLY
| Method Detail |
|---|
public static final TransformationMode.Mode[] values()
for(TransformationMode.Mode c : TransformationMode.Mode.values())
System.out.println(c);
public static TransformationMode.Mode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||