|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.topcoder.shared.problem.DataTypeFactory
This class implements a global database of known data types. Ideally it would be populated
at some appropriate initialization time with the set of valid data types. Construction of
any new DataType adds to the data type population.
DataType| Constructor Summary | |
DataTypeFactory()
|
|
| Method Summary | |
static DataType |
getDataType(int typeID)
|
static DataType |
getDataType(java.lang.String description)
Obtain a DataType object with the given description. |
static java.util.Collection |
getDataTypes()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataTypeFactory()
| Method Detail |
public static DataType getDataType(java.lang.String description)
throws InvalidTypeException
DataType object with the given description.
description - A type description (e.g. "String[]")
InvalidTypeException
public static DataType getDataType(int typeID)
throws InvalidTypeException
InvalidTypeExceptionpublic static java.util.Collection getDataTypes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||