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:
java.lang.Cloneable,java.lang.Iterable<java.lang.String>,FeatureStructure
public class NonEmptyStringList extends StringList
-
-
Field Summary
Fields Modifier and Type Field Description static inttypestatic inttypeIndexID
-
Constructor Summary
Constructors Modifier Constructor Description protectedNonEmptyStringList()NonEmptyStringList(int addr, TOP_Type type)NonEmptyStringList(JCas jcas)NonEmptyStringList(JCas jcas, java.lang.String s, StringList tail)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHead()StringListgetTail()intgetTypeIndexID()used to obtain reference to the TOP_Type instancejava.util.Iterator<java.lang.String>iterator()voidsetHead(java.lang.String v)voidsetTail(StringList v)-
Methods inherited from class org.apache.uima.jcas.cas.StringList
getNthElement, push
-
Methods inherited from class org.apache.uima.jcas.cas.TOP
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
-
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
-
-
-
-
Constructor Detail
-
NonEmptyStringList
protected NonEmptyStringList()
-
NonEmptyStringList
public NonEmptyStringList(int addr, TOP_Type type)
-
NonEmptyStringList
public NonEmptyStringList(JCas jcas)
-
NonEmptyStringList
public NonEmptyStringList(JCas jcas, java.lang.String s, StringList tail)
- Parameters:
jcas- the JCas create the new Feature Structure ins- the head itemtail- the tail item
-
-
Method Detail
-
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
public java.lang.String getHead()
-
setHead
public void setHead(java.lang.String v)
-
getTail
public StringList getTail()
-
setTail
public void setTail(StringList v)
-
iterator
public java.util.Iterator<java.lang.String> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<java.lang.String>- Overrides:
iteratorin classStringList
-
-