Package org.apache.uima.jcas.cas
Class NonEmptyIntegerList
java.lang.Object
org.apache.uima.cas.impl.FeatureStructureImpl
org.apache.uima.jcas.cas.TOP
org.apache.uima.jcas.cas.IntegerList
org.apache.uima.jcas.cas.NonEmptyIntegerList
- All Implemented Interfaces:
Cloneable
,Iterable<Integer>
,FeatureStructure
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NonEmptyIntegerList
(int addr, TOP_Type type) NonEmptyIntegerList
(JCas jcas) NonEmptyIntegerList
(JCas jcas, int i, IntegerList tail) -
Method Summary
Methods inherited from class org.apache.uima.jcas.cas.IntegerList
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
-
Field Details
-
typeIndexID
public static final int typeIndexID -
type
public static final int type
-
-
Constructor Details
-
NonEmptyIntegerList
protected NonEmptyIntegerList() -
NonEmptyIntegerList
-
NonEmptyIntegerList
-
NonEmptyIntegerList
- Parameters:
jcas
- the jcas to create this Feature Structure ini
- the head valuetail
- the tail
-
-
Method Details
-
getTypeIndexID
public int getTypeIndexID()Description copied from class:TOP
used to obtain reference to the TOP_Type instance- Overrides:
getTypeIndexID
in classIntegerList
- Returns:
- the type array index
-
getHead
public int getHead() -
setHead
public void setHead(int v) -
getTail
-
setTail
-
iterator
- Specified by:
iterator
in interfaceIterable<Integer>
- Overrides:
iterator
in classIntegerList
-