public class TypeImpl_array extends TypeImpl implements TypeSystemConstants
isBuiltIn, isCreatableAndNotBuiltinArray, isFeatureFinal, isInheritanceFinal, isLongOrDouble, isRefType, javaClass, singleton
annotBaseSofaFeatAdjOffset, annotBaseSofaFeatCode, annotBaseTypeCode, annotTypeCode, arrayBaseTypeCode, beginFeatAdjOffset, beginFeatCode, booleanArrayTypeCode, booleanTypeCode, byteArrayTypeCode, byteTypeCode, docTypeCode, doubleArrayTypeCode, doubleTypeCode, endFeatAdjOffset, endFeatCode, floatArrayTypeCode, floatEListTypeCode, floatListTypeCode, floatNeListTypeCode, floatTypeCode, fsArrayTypeCode, fsEListTypeCode, fsListTypeCode, fsNeListTypeCode, intArrayTypeCode, intEListTypeCode, intListTypeCode, intNeListTypeCode, intTypeCode, langFeatAdjOffset, langFeatCode, longArrayTypeCode, longTypeCode, shortArrayTypeCode, shortTypeCode, sofaArrayFeatAdjOffset, sofaArrayFeatCode, sofaIdFeatAdjOffset, sofaIdFeatCode, sofaMimeFeatAdjOffset, sofaMimeFeatCode, sofaNumFeatAdjOffset, sofaNumFeatCode, sofaStringFeatAdjOffset, sofaStringFeatCode, sofaTypeCode, sofaUriFeatAdjOffset, sofaUriFeatCode, stringArrayTypeCode, stringEListTypeCode, stringListTypeCode, stringNeListTypeCode, stringTypeCode, topTypeCode
Constructor and Description |
---|
TypeImpl_array(String name,
TypeImpl componentType,
TypeSystemImpl tsi,
TypeImpl supertype,
SlotKinds.SlotKind componentSlotKind,
boolean isHeapStoredArray,
Class<?> javaClass) |
Modifier and Type | Method and Description |
---|---|
SlotKinds.SlotKind |
getComponentSlotKind()
Component Slot Kind
|
TypeImpl |
getComponentType()
For array types, returns the component type of the array type.
|
boolean |
isArray()
Check if the type is an array type.
|
boolean |
isTypedFsArray() |
boolean |
subsumes(TypeImpl subType) |
compareTo, equals, getAppropriateFeatures, getCode, getFeature, getFeatureByBaseName, getFeatureImpls, getFeatures, getFeaturesAsStream, getFsSpaceReq, getFsSpaceReq, getFsSpaceReq, getJCasClassName, getMergedStaticFeaturesIntroducedByThisType, getName, getNbrOfLongOrDoubleFeatures, getNumberOfFeatures, getShortName, getSuperType, getTypeSystem, hashCode, hashCodeNameLong, hasRefFeature, isAnnotationBaseType, isAnnotationType, isAppropriateFeature, isCreatableAndNotBuiltinArray, isFeatureFinal, isInheritanceFinal, isLongOrDouble, isPrimitive, isStringOrStringSubtype, isStringSubtype, isTopType, iterator, prettyPrint, prettyPrintWithSubTypes, subsumesStrictly, subsumesValue, toString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public TypeImpl_array(String name, TypeImpl componentType, TypeSystemImpl tsi, TypeImpl supertype, SlotKinds.SlotKind componentSlotKind, boolean isHeapStoredArray, Class<?> javaClass)
public TypeImpl getComponentType()
Type
null
.getComponentType
in interface Type
getComponentType
in class TypeImpl
public boolean isArray()
Type
isArray
in interface Type
isArray
in class TypeImpl
true
iff the type is an array type.Type.isArray()
public SlotKinds.SlotKind getComponentSlotKind()
getComponentSlotKind
in class TypeImpl
public boolean subsumes(TypeImpl subType)
public boolean isTypedFsArray()
isTypedFsArray
in class TypeImpl
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.