|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<VarType> net.sf.javailp.VarType
public enum VarType
The variable type.
Enum Constant Summary | |
---|---|
BOOL
Boolean |
|
INT
Integer |
|
REAL
Real |
Method Summary | |
---|---|
boolean |
isInt()
|
String |
toString()
|
static VarType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static VarType[] |
values()
Returns an array containing the constants of this enum type, in the order they are 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 VarType BOOL
public static final VarType INT
public static final VarType REAL
Method Detail |
---|
public static VarType[] values()
for (VarType c : VarType.values()) System.out.println(c);
public static VarType 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 boolean isInt()
public String toString()
toString
in class Enum<VarType>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |