|
CS 536 Fall 2007, Project 5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
ObjectEnum<Type.Kind>
Type.Kind
public static enum Type.Kind
One of SCALAR, PROCEDURE, or ARRAY.
| Enum Constant Summary | |
|---|---|
ARRAY
An array of baseType. |
|
PROCEDURE
A FUNC or PROC returning baseType. |
|
SCALAR
A simple type (integer, string, etc). |
|
| Method Summary | |
|---|---|
static Type.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Type.Kind[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Type.Kind SCALAR
public static final Type.Kind PROCEDURE
public static final Type.Kind ARRAY
| Method Detail |
|---|
public static final Type.Kind[] values()
for(Type.Kind c : Type.Kind.values())
System.out.println(c);
public static Type.Kind 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
|
CS 536 Fall 2007, Project 5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||