public class StringList extends TOP implements Iterable<String>
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
StringList() |
|
StringList(int addr,
TOP_Type type) |
|
StringList(JCas jcas) |
Modifier and Type | Method and Description |
---|---|
String |
getNthElement(int i) |
int |
getTypeIndexID()
used to obtain reference to the TOP_Type instance
|
Iterator<String> |
iterator() |
NonEmptyStringList |
push(String s)
pushes a String onto front of this list
|
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
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
finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected StringList()
public StringList(int addr, TOP_Type type)
public StringList(JCas jcas)
public int getTypeIndexID()
TOP
getTypeIndexID
in class TOP
public String getNthElement(int i)
public NonEmptyStringList push(String s)
s
- the String to pushCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.