public static class Types.UnionType extends Type.ComplexType
Type.ComplexType, Type.DateTimeType, Type.FractionType, Type.IntegralType, Type.IntervalType, Type.Name, Type.NumericType, Type.PrimitiveType
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
Type.Name |
name() |
static Types.UnionType |
of(Type... types)
Create a new
Types.UnionType with the given types. |
java.lang.String |
simpleString() |
Type[] |
types() |
public static Types.UnionType of(Type... types)
Types.UnionType
with the given types.types
- The types of the union.Types.UnionType
instance.public Type[] types()
public Type.Name name()
public java.lang.String simpleString()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object