
public class AlternativeTypeInformation extends Object implements TypeInformation
| Modifier and Type | Field and Description |
|---|---|
private TypeInformation[] |
restrictions
The wrapped type restrictions
|
| Constructor and Description |
|---|
AlternativeTypeInformation(TypeInformation... restrictions)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAssignableFrom(Object other)
Test whether this type is assignable from a given object instance.
|
boolean |
isAssignableFromType(TypeInformation type)
Test whether this type is assignable from another type.
|
String |
toString() |
private final TypeInformation[] restrictions
public AlternativeTypeInformation(TypeInformation... restrictions)
restrictions - public boolean isAssignableFromType(TypeInformation type)
TypeInformationisAssignableFromType in interface TypeInformationtype - Other typepublic boolean isAssignableFrom(Object other)
TypeInformationisAssignableFrom in interface TypeInformationother - Other object