Package io.ciera.runtime.summit.types
Class UDT<T>
- java.lang.Object
-
- io.ciera.runtime.summit.types.UDT<T>
-
- All Implemented Interfaces:
IXtumlType,Comparable<Object>
- Direct Known Subclasses:
BooleanUDT,InstMapping,InstRefMapping,IntegerUDT,RealUDT,StringUDT
public abstract class UDT<T> extends Object implements IXtumlType, Comparable<Object>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected <U extends UDT<T>>
Ubinop(Object o, BinaryOperator<T> op)Tcast()abstract Tcast(Object o)booleangreaterThan(Object o)booleangreaterThanOrEqual(Object o)booleanlessThan(Object o)booleanlessThanOrEqual(Object o)abstract <U extends UDT<T>>
Upromote(Object o)Stringserialize()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface io.ciera.runtime.summit.types.IXtumlType
equality, inequality, oneWhere
-
-
-
-
Constructor Detail
-
UDT
public UDT(T o)
-
-
Method Detail
-
promote
public abstract <U extends UDT<T>> U promote(Object o) throws XtumlException
- Throws:
XtumlException
-
cast
public T cast()
-
cast
public abstract T cast(Object o) throws XtumlException
- Throws:
XtumlException
-
lessThan
public boolean lessThan(Object o)
-
lessThanOrEqual
public boolean lessThanOrEqual(Object o) throws XtumlException
- Throws:
XtumlException
-
greaterThan
public boolean greaterThan(Object o) throws XtumlException
- Throws:
XtumlException
-
greaterThanOrEqual
public boolean greaterThanOrEqual(Object o) throws XtumlException
- Throws:
XtumlException
-
binop
protected <U extends UDT<T>> U binop(Object o, BinaryOperator<T> op) throws XtumlException
- Throws:
XtumlException
-
serialize
public String serialize() throws XtumlException
- Specified by:
serializein interfaceIXtumlType- Throws:
XtumlException
-
-