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
public class NonEmptyStringList extends StringList
-
-
Field Summary
Fields Modifier and Type Field Description static int
type
static int
typeIndexID
-
Constructor Summary
Constructors Modifier Constructor Description protected
NonEmptyStringList()
NonEmptyStringList(int addr, TOP_Type type)
NonEmptyStringList(JCas jcas)
NonEmptyStringList(JCas jcas, String s, StringList tail)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHead()
StringList
getTail()
int
getTypeIndexID()
used to obtain reference to the TOP_Type instanceIterator<String>
iterator()
void
setHead(String v)
void
setTail(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
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
NonEmptyStringList
protected NonEmptyStringList()
-
NonEmptyStringList
public NonEmptyStringList(int addr, TOP_Type type)
-
NonEmptyStringList
public NonEmptyStringList(JCas jcas)
-
NonEmptyStringList
public NonEmptyStringList(JCas jcas, 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:TOP
used to obtain reference to the TOP_Type instance- Overrides:
getTypeIndexID
in classStringList
- Returns:
- the type array index
-
getHead
public String getHead()
-
setHead
public void setHead(String v)
-
getTail
public StringList getTail()
-
setTail
public void setTail(StringList v)
-
-