Package org.scijava

Interface Typed<T>

    • Method Detail

      • supports

        default boolean supports​(T data)
        Gets whether this object is compatible with the given data object.

        By default, this method will return true iff the data is assignable to the associated type given by getType(). But individual implementations may have other requirements beyond class assignability.

      • getType

        Class<T> getType()
        Gets the type associated with the object.