de.lmu.ifi.dbs.elki.data.type
Interface TypeInformation

All Known Implementing Classes:
AlternativeTypeInformation, CombinedTypeInformation, SimpleTypeInformation, VectorFieldTypeInformation, VectorTypeInformation

public interface TypeInformation

Class wrapping a particular data type.


Method Summary
 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.
 

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(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.

Release 0.4.0 (2011-09-20_1324)