Class EmptyType
- java.lang.Object
-
- de.tudresden.inf.lat.tabulas.datatype.EmptyType
-
- All Implemented Interfaces:
DataType
,PrimitiveType
,Serializable
,scala.Equals
,scala.Product
public class EmptyType extends Object implements PrimitiveType, scala.Product, Serializable
This models the primitive data type Empty.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmptyType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmptyValue
castInstance(PrimitiveTypeValue value)
String
getTypeName()
Returns the name of this type.boolean
isList()
Tells whether this type is a list.EmptyValue
parse(String str)
Returns a value based on the given string.String
toString()
String
TypeName()
-
-
-
Method Detail
-
TypeName
public final String TypeName()
-
isList
public boolean isList()
Description copied from interface:PrimitiveType
Tells whether this type is a list.- Specified by:
isList
in interfacePrimitiveType
- Returns:
true
if and only if this type is a list
-
castInstance
public EmptyValue castInstance(PrimitiveTypeValue value)
-
parse
public EmptyValue parse(String str)
Description copied from interface:PrimitiveType
Returns a value based on the given string.- Specified by:
parse
in interfacePrimitiveType
- Parameters:
str
- string- Returns:
- a value based on the given string
-
getTypeName
public String getTypeName()
Description copied from interface:PrimitiveType
Returns the name of this type.- Specified by:
getTypeName
in interfacePrimitiveType
- Returns:
- the name of this type
-
-