Modifier and Type | Class and Description |
---|---|
static interface |
VerifData.DataType.DataTypeCallable<T> |
Constructor and Description |
---|
DataType(String name,
String display,
VerifData.DataType.DataTypeCallable<T> create)
Create a new data type
|
Modifier and Type | Method and Description |
---|---|
DataCounter<T> |
create()
Create a new data counter
|
String |
getDisplay()
Get the display of the data type
|
String |
getName()
Get the name of the data type
|
int |
hashCode() |
public DataType(String name, String display, VerifData.DataType.DataTypeCallable<T> create)
name
- the name of the data typedisplay
- the display name of the data typecreate
- the creator of data counterpublic String getName()
public String getDisplay()
public DataCounter<T> create()