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
ConstructorsModifierConstructorDescriptionprotectedNonEmptyIntegerList(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, 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
-
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:TOPused to obtain reference to the TOP_Type instance- Overrides:
getTypeIndexIDin classIntegerList- Returns:
- the type array index
-
getHead
public int getHead() -
setHead
public void setHead(int v) -
getTail
-
setTail
-
iterator
- Specified by:
iteratorin interfaceIterable<Integer>- Overrides:
iteratorin classIntegerList
-