Package org.apache.uima.cas.impl
Class FeatureStructureImplC
- java.lang.Object
-
- org.apache.uima.cas.impl.FeatureStructureImpl
-
- org.apache.uima.cas.impl.FeatureStructureImplC
-
- All Implemented Interfaces:
java.lang.Cloneable,FeatureStructure
- Direct Known Subclasses:
AnnotationBaseImpl,CommonArrayFSImpl,CommonAuxArrayFSImpl,SofaFSImpl
public class FeatureStructureImplC extends FeatureStructureImpl
Feature structure implementation.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFeatureStructureImplC()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)A feature structure is equal to another feature structure iff it is identical in the underlying representation.intgetAddress()CASgetCAS()Return the CAS that this FS belongs to.CASImplgetCASImpl()inthashCode()Will return a hash code that's consistent with equality, i.e., if two FSs are equal, they will also return the same hash code.-
Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl
clone, getavoidcollisionTypeCode, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString
-
-
-
-
Field Detail
-
casImpl
protected final CASImpl casImpl
-
addr
protected final int addr
-
-
Method Detail
-
getAddress
public int getAddress()
- Specified by:
getAddressin classFeatureStructureImpl
-
getCAS
public CAS getCAS()
Description copied from interface:FeatureStructureReturn the CAS that this FS belongs to.- Returns:
- The CAS.
-
getCASImpl
public CASImpl getCASImpl()
- Specified by:
getCASImplin classFeatureStructureImpl
-
equals
public boolean equals(java.lang.Object o)
Description copied from interface:FeatureStructureA feature structure is equal to another feature structure iff it is identical in the underlying representation.- Specified by:
equalsin interfaceFeatureStructure- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Description copied from interface:FeatureStructureWill return a hash code that's consistent with equality, i.e., if two FSs are equal, they will also return the same hash code.- Specified by:
hashCodein interfaceFeatureStructure- Overrides:
hashCodein classjava.lang.Object- Returns:
- The hash code.
-
-