public class CombinedTypeInformation extends Object implements TypeInformation
Modifier and Type | Field and Description |
---|---|
private TypeInformation[] |
restrictions
The wrapped type restrictions
|
Constructor and Description |
---|
CombinedTypeInformation(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 CombinedTypeInformation(TypeInformation... restrictions)
restrictions
- public boolean isAssignableFromType(TypeInformation type)
TypeInformation
isAssignableFromType
in interface TypeInformation
type
- Other typepublic boolean isAssignableFrom(Object other)
TypeInformation
isAssignableFrom
in interface TypeInformation
other
- Other object