nts.interf.base
Enum EBasicType

java.lang.Object
  extended by java.lang.Enum<EBasicType>
      extended by nts.interf.base.EBasicType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EBasicType>

public enum EBasicType
extends java.lang.Enum<EBasicType>

Basic types of variables.


Enum Constant Summary
BOOL
           
INT
           
REAL
           
 
Method Summary
 boolean isBool()
           
 boolean isInt()
           
 boolean isNumeric()
           
 boolean isReal()
           
static EBasicType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EBasicType[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BOOL

public static final EBasicType BOOL

INT

public static final EBasicType INT

REAL

public static final EBasicType REAL
Method Detail

values

public static EBasicType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EBasicType c : EBasicType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EBasicType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

isBool

public boolean isBool()

isInt

public boolean isInt()

isReal

public boolean isReal()

isNumeric

public boolean isNumeric()
Returns:
true if and only if either INT or REAL