Class TypeImpl_primitive

java.lang.Object
org.apache.uima.cas.impl.TypeImpl
org.apache.uima.cas.impl.TypeImpl_primitive
All Implemented Interfaces:
Comparable<TypeImpl>, Iterable<Feature>, Type
Direct Known Subclasses:
TypeImpl_string

public class TypeImpl_primitive extends TypeImpl
  • Constructor Details

  • Method Details

    • isPrimitive

      public boolean isPrimitive()
      Description copied from interface: Type
      Check if the type is one of the primitive types.
      Specified by:
      isPrimitive in interface Type
      Overrides:
      isPrimitive in class TypeImpl
      Returns:
      true iff type is a primitive type.
      See Also:
    • subsumes

      public boolean subsumes(TypeImpl ti)
      Overrides:
      subsumes in class TypeImpl
      Parameters:
      ti - the subtype to check
      Returns:
      true if this type subsumes the subtype (is equal to or a supertype of the subtype)