Package org.apache.uima.jcas.cas
Class NonEmptyStringList
java.lang.Object
org.apache.uima.cas.impl.FeatureStructureImpl
org.apache.uima.jcas.cas.TOP
org.apache.uima.jcas.cas.StringList
org.apache.uima.jcas.cas.NonEmptyStringList
- All Implemented Interfaces:
Cloneable,Iterable<String>,FeatureStructure
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNonEmptyStringList(int addr, TOP_Type type) NonEmptyStringList(JCas jcas) NonEmptyStringList(JCas jcas, String s, StringList tail) -
Method Summary
Methods inherited from class org.apache.uima.jcas.cas.StringList
getNthElement, pushMethods inherited from class org.apache.uima.jcas.cas.TOP
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexesMethods 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, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
typeIndexID
public static final int typeIndexID -
type
public static final int type
-
-
Constructor Details
-
NonEmptyStringList
protected NonEmptyStringList() -
NonEmptyStringList
-
NonEmptyStringList
-
NonEmptyStringList
- Parameters:
jcas- the JCas create the new Feature Structure ins- the head itemtail- the tail item
-
-
Method Details
-
getTypeIndexID
public int getTypeIndexID()Description copied from class:TOPused to obtain reference to the TOP_Type instance- Overrides:
getTypeIndexIDin classStringList- Returns:
- the type array index
-
getHead
-
setHead
-
getTail
-
setTail
-
iterator
- Specified by:
iteratorin interfaceIterable<String>- Overrides:
iteratorin classStringList
-