Package elki.data.type
Interface TypeInformation
-
- All Known Subinterfaces:
FieldTypeInformation
- All Known Implementing Classes:
AlternativeTypeInformation
,CombinedTypeInformation
,MultivariateSeriesTypeInformation
,SimpleTypeInformation
,VectorFieldTypeInformation
,VectorTypeInformation
public interface TypeInformation
Class wrapping a particular data type.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isAssignableFrom(java.lang.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.
-
-
-
Method Detail
-
isAssignableFromType
boolean isAssignableFromType(TypeInformation type)
Test whether this type is assignable from another type.- Parameters:
type
- Other type- Returns:
- true when the other type is accepted as subtype.
-
isAssignableFrom
boolean isAssignableFrom(java.lang.Object other)
Test whether this type is assignable from a given object instance.- Parameters:
other
- Other object- Returns:
- true when the other type is an acceptable instance.
-
-