|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BoolIntType>
net.ogdf.ogml.BoolIntType
public enum BoolIntType
A representation of the literals of the enumeration 'Bool Int Type', and utility methods for working with them.
OgmlPackage.getBoolIntType()
extendedMetaData | = | name='boolInt.type' |
Enum Constant Summary | |
---|---|
_0
The '0' literal object. |
|
_1
The '1' literal object. |
Field Summary | |
---|---|
static int |
_0_VALUE
The '0' literal value. |
static int |
_1_VALUE
The '1' literal value. |
static List<BoolIntType> |
VALUES
A public read-only list of all the 'Bool Int Type' enumerators. |
Method Summary | |
---|---|
static BoolIntType |
get(int value)
Returns the 'Bool Int Type' literal with the specified integer value. |
static BoolIntType |
get(String literal)
Returns the 'Bool Int Type' literal with the specified literal value. |
static BoolIntType |
getByName(String name)
Returns the 'Bool Int Type' 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 BoolIntType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BoolIntType[] |
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 BoolIntType _1
_1_VALUE
public static final BoolIntType _0
_0_VALUE
Field Detail |
---|
public static final int _1_VALUE
If the meaning of '1' literal object isn't clear, there really should be more of a description here...
_1
,
Constant Field Valuesliteral | = | 1 |
public static final int _0_VALUE
If the meaning of '0' literal object isn't clear, there really should be more of a description here...
_0
,
Constant Field Valuesliteral | = | 0 |
public static final List<BoolIntType> VALUES
Method Detail |
---|
public static BoolIntType[] values()
for (BoolIntType c : BoolIntType.values()) System.out.println(c);
public static BoolIntType 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 BoolIntType get(String literal)
public static BoolIntType getByName(String name)
public static BoolIntType 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<BoolIntType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |