T
- Expected payload Java typeBigDecimalType
, BooleanType
, DoubleType
, FloatType
, FunctionPrototype.NilType
, IntegerType
, IntervalType
, StringType
, TemplateType
, ZeroType
public abstract class Type<T> extends Object
Types can be either regular, so that each two instances are equal, or a template, that is a parametrized type.
Modifier | Constructor | Description |
---|---|---|
protected |
Type() |
|
protected |
Type(Collection a) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object obj) |
|
net.vleo.timel.impl.downscaler.Downscaler<?> |
getDownscaler() |
Retrieve the
Downscaler for this type. |
String |
getName() |
Returns the type name as shown to the user.
|
List<Object> |
getParameters() |
|
net.vleo.timel.impl.upscaler.Upscaler<?> |
getUpscaler() |
Retrieve an
Upscaler for this type. |
int |
hashCode() |
|
boolean |
isConcrete() |
|
boolean |
isSpecializedTemplate() |
|
boolean |
isUnboundTemplate() |
|
Type<T> |
specialize(Object... parameters) |
|
Type<T> |
template() |
|
String |
toString() |
protected Type(Collection a)
protected Type()
public boolean isUnboundTemplate()
public boolean isSpecializedTemplate()
public boolean isConcrete()
public Type<T> template()
public net.vleo.timel.impl.upscaler.Upscaler<?> getUpscaler()
Upscaler
for this type.public net.vleo.timel.impl.downscaler.Downscaler<?> getDownscaler()
Downscaler
for this type.public String getName()
Copyright © 2019. All rights reserved.