Class TypeImpl_array

java.lang.Object
org.apache.uima.cas.impl.TypeImpl
org.apache.uima.cas.impl.TypeImpl_array
All Implemented Interfaces:
Comparable<TypeImpl>, Iterable<Feature>, TypeSystemConstants, Type

public class TypeImpl_array extends TypeImpl implements TypeSystemConstants
  • Constructor Details

  • Method Details

    • getComponentType

      public TypeImpl getComponentType()
      Description copied from interface: Type
      For array types, returns the component type of the array type. For all other types, it will return null.
      Specified by:
      getComponentType in interface Type
      Overrides:
      getComponentType in class TypeImpl
      Returns:
      The component type of an array type.
    • isArray

      public boolean isArray()
      Description copied from interface: Type
      Check if the type is an array type.
      Specified by:
      isArray in interface Type
      Overrides:
      isArray in class TypeImpl
      Returns:
      true iff the type is an array type.
      See Also:
    • getComponentSlotKind

      public SlotKinds.SlotKind getComponentSlotKind()
      Component Slot Kind
      Overrides:
      getComponentSlotKind in class TypeImpl
    • subsumes

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

      public boolean isTypedFsArray()
      Overrides:
      isTypedFsArray in class TypeImpl
      Returns:
      true if this array type is a subtype of FSArray over a specific feature structure (other than TOP, or one of the primitives)