public enum DecoratorType extends java.lang.Enum<DecoratorType>
Enum Constant and Description |
---|
AndJoin |
AndSplit |
OrJoin |
OrSplit |
XorJoin |
XorSplit |
Modifier and Type | Method and Description |
---|---|
static DecoratorType |
fromString(java.lang.String s)
Gets a decorator type from a String.
|
boolean |
isJoin() |
boolean |
isSplit() |
java.lang.String |
toString() |
static DecoratorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DecoratorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecoratorType AndSplit
public static final DecoratorType XorSplit
public static final DecoratorType OrSplit
public static final DecoratorType AndJoin
public static final DecoratorType XorJoin
public static final DecoratorType OrJoin
public static DecoratorType[] values()
for (DecoratorType c : DecoratorType.values()) System.out.println(c);
public static DecoratorType 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<DecoratorType>
public static DecoratorType fromString(java.lang.String s)
s
- the String. Valid values are: AND_split, XOR_split, OR_split, AND_join,
XOR_join, OR_joinpublic boolean isJoin()
public boolean isSplit()