|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ArithmeticOperators>
org.eclipse.hyades.models.hierarchy.extensions.ArithmeticOperators
public enum ArithmeticOperators
A representation of the literals of the enumeration 'Arithmetic Operators', and utility methods for working with them.
ExtensionsPackage.getArithmeticOperators()| Enum Constant Summary | |
|---|---|
ADD_LITERAL
The 'ADD' literal object |
|
DIVIDE_LITERAL
The 'DIVIDE' literal object |
|
INTEGER_DIVIDE_LITERAL
The 'INTEGER DIVIDE' literal object |
|
MOD_LITERAL
The 'MOD' literal object |
|
MULTIPLY_LITERAL
The 'MULTIPLY' literal object |
|
SUBSTRACT_LITERAL
The 'SUBSTRACT' literal object |
|
| Field Summary | |
|---|---|
static int |
ADD
The 'ADD' literal value |
static int |
DIVIDE
The 'DIVIDE' literal value |
static int |
INTEGER_DIVIDE
The 'INTEGER DIVIDE' literal value |
static int |
MOD
The 'MOD' literal value |
static int |
MULTIPLY
The 'MULTIPLY' literal value |
static int |
SUBSTRACT
The 'SUBSTRACT' literal value |
static java.util.List<ArithmeticOperators> |
VALUES
A public read-only list of all the 'Arithmetic Operators' enumerators |
| Method Summary | |
|---|---|
static ArithmeticOperators |
get(int value)
Returns the 'Arithmetic Operators' literal with the specified integer value |
static ArithmeticOperators |
get(java.lang.String literal)
Returns the 'Arithmetic Operators' literal with the specified literal value |
static ArithmeticOperators |
getByName(java.lang.String name)
Returns the 'Arithmetic Operators' literal with the specified name |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation |
static ArithmeticOperators |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ArithmeticOperators[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ArithmeticOperators ADD_LITERAL
If the meaning of 'ADD' literal object isn't clear, there really should be more of a description here...
ADDpublic static final ArithmeticOperators SUBSTRACT_LITERAL
If the meaning of 'SUBSTRACT' literal object isn't clear, there really should be more of a description here...
SUBSTRACTpublic static final ArithmeticOperators MULTIPLY_LITERAL
If the meaning of 'MULTIPLY' literal object isn't clear, there really should be more of a description here...
MULTIPLYpublic static final ArithmeticOperators DIVIDE_LITERAL
If the meaning of 'DIVIDE' literal object isn't clear, there really should be more of a description here...
DIVIDEpublic static final ArithmeticOperators INTEGER_DIVIDE_LITERAL
If the meaning of 'INTEGER DIVIDE' literal object isn't clear, there really should be more of a description here...
INTEGER_DIVIDEpublic static final ArithmeticOperators MOD_LITERAL
If the meaning of 'MOD' literal object isn't clear, there really should be more of a description here...
MOD| Field Detail |
|---|
public static final int ADD
ADD_LITERAL,
Constant Field Valuespublic static final int SUBSTRACT
SUBSTRACT_LITERAL,
Constant Field Valuespublic static final int MULTIPLY
MULTIPLY_LITERAL,
Constant Field Valuespublic static final int DIVIDE
DIVIDE_LITERAL,
Constant Field Valuespublic static final int INTEGER_DIVIDE
INTEGER_DIVIDE_LITERAL,
Constant Field Valuespublic static final int MOD
MOD_LITERAL,
Constant Field Valuespublic static final java.util.List<ArithmeticOperators> VALUES
| Method Detail |
|---|
public static final ArithmeticOperators[] values()
for(ArithmeticOperators c : ArithmeticOperators.values())
System.out.println(c);
public static ArithmeticOperators 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 namepublic static ArithmeticOperators get(java.lang.String literal)
public static ArithmeticOperators getByName(java.lang.String name)
public static ArithmeticOperators get(int value)
public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<ArithmeticOperators>
|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||