Modifier and Type | Method and Description |
---|---|
protected void |
checkParamCount(int paramCount) |
protected static TypeId |
fromName(java.lang.String name) |
protected java.lang.String |
getName() |
protected abstract ru.ispras.microtesk.model.api.data.Operations |
getOperations() |
boolean |
isInteger() |
protected abstract Type |
newType(int... params) |
static TypeId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypeId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeId INT
public static final TypeId CARD
public static final TypeId FLOAT
public static final TypeId BOOL
public static TypeId[] values()
for (TypeId c : TypeId.values()) System.out.println(c);
public static TypeId 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 namejava.lang.NullPointerException
- if the argument is nullprotected final java.lang.String getName()
public final boolean isInteger()
protected static TypeId fromName(java.lang.String name)
protected abstract Type newType(int... params)
protected abstract ru.ispras.microtesk.model.api.data.Operations getOperations()
protected final void checkParamCount(int paramCount)