|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CombineOperator>
de.cau.cs.kieler.core.kexpressions.CombineOperator
public enum CombineOperator
A representation of the literals of the enumeration 'Combine Operator', and utility methods for working with them. Built-in operators that can be used as Signal combine operators.
KExpressionsPackage.getCombineOperator()
Enum Constant Summary | |
---|---|
ADD
The 'ADD' literal object. |
|
AND
The 'AND' literal object. |
|
HOST
The 'HOST' literal object. |
|
MAX
The 'MAX' literal object. |
|
MIN
The 'MIN' literal object. |
|
MULT
The 'MULT' literal object. |
|
NONE
The 'NONE' literal object. |
|
OR
The 'OR' literal object. |
Field Summary | |
---|---|
static int |
ADD_VALUE
The 'ADD' literal value. |
static int |
AND_VALUE
The 'AND' literal value. |
static int |
HOST_VALUE
The 'HOST' literal value. |
static int |
MAX_VALUE
The 'MAX' literal value. |
static int |
MIN_VALUE
The 'MIN' literal value. |
static int |
MULT_VALUE
The 'MULT' literal value. |
static int |
NONE_VALUE
The 'NONE' literal value. |
static int |
OR_VALUE
The 'OR' literal value. |
static List<CombineOperator> |
VALUES
A public read-only list of all the 'Combine Operator' enumerators. |
Method Summary | |
---|---|
static CombineOperator |
get(int value)
Returns the 'Combine Operator' literal with the specified integer value. |
static CombineOperator |
get(String literal)
Returns the 'Combine Operator' literal with the specified literal value. |
static CombineOperator |
getByName(String name)
Returns the 'Combine Operator' literal with the specified name. |
String |
getLiteral()
|
String |
getName()
|
int |
getValue()
|
String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static CombineOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CombineOperator[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CombineOperator NONE
NONE_VALUE
public static final CombineOperator ADD
ADD_VALUE
public static final CombineOperator MULT
MULT_VALUE
public static final CombineOperator MAX
MAX_VALUE
public static final CombineOperator MIN
MIN_VALUE
public static final CombineOperator OR
OR_VALUE
public static final CombineOperator AND
AND_VALUE
public static final CombineOperator HOST
HOST_VALUE
Field Detail |
---|
public static final int NONE_VALUE
NONE
,
Constant Field Valuespublic static final int ADD_VALUE
ADD
,
Constant Field Valuesliteral | = | + |
public static final int MULT_VALUE
MULT
,
Constant Field Valuesliteral | = | * |
public static final int MAX_VALUE
MAX
,
Constant Field Valuesliteral | = | max |
public static final int MIN_VALUE
MIN
,
Constant Field Valuesliteral | = | min |
public static final int OR_VALUE
OR
,
Constant Field Valuesliteral | = | or |
public static final int AND_VALUE
AND
,
Constant Field Valuesliteral | = | and |
public static final int HOST_VALUE
HOST
,
Constant Field Valuesliteral | = | host |
public static final List<CombineOperator> VALUES
Method Detail |
---|
public static CombineOperator[] values()
for (CombineOperator c : CombineOperator.values()) System.out.println(c);
public static CombineOperator valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static CombineOperator get(String literal)
public static CombineOperator getByName(String name)
public static CombineOperator get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<CombineOperator>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |