Uses of Interface
org.apache.uima.jcas.cas.CommonList
-
Packages that use CommonList Package Description org.apache.uima.cas.impl Implementation and Low-Level API for the CAS Interfaces.org.apache.uima.jcas.cas JCAS model for built-in CAS types -
-
Uses of CommonList in org.apache.uima.cas.impl
Fields in org.apache.uima.cas.impl declared as CommonList Modifier and Type Field Description private static CommonList
CasCompare. removed_list_marker
Fields in org.apache.uima.cas.impl with type parameters of type CommonList Modifier and Type Field Description private Int2ObjHashMap<java.util.ArrayList<CommonList>,java.util.ArrayList<CommonList>>
CasCompare. map_e_to_a_list
key = _id, value = arraylist holding well-formed list with this node in itprivate Int2ObjHashMap<java.util.ArrayList<CommonList>,java.util.ArrayList<CommonList>>
CasCompare. map_e_to_a_list
key = _id, value = arraylist holding well-formed list with this node in itprivate Obj2IntIdentityHashMap<CommonList>
CasCompare. node_indexes
a map from list nodes which might be removed, to their place in the fss array list The index is 1 more, to avoid colliding with the 0 value, used for missing valueMethods in org.apache.uima.cas.impl that return CommonList Modifier and Type Method Description private CommonList
XmiCasDeserializer.XmiCasDeserializerHandler. createListFromStringValues(java.util.List<java.lang.String> stringValues, int startPos, EmptyList emptyNode)
There are two variants - one for primitives, and one for values which are refs to FS.(package private) CommonList
XmiCasDeserializer.XmiCasDeserializerHandler. createListFromStringValues(java.util.List<java.lang.String> stringValues, EmptyList emptyNode)
private CommonList
XmiCasDeserializer.XmiCasDeserializerHandler. createOrUpdateList(TypeImpl listType, java.util.List<java.lang.String> values, int xmiId, CommonList existingList)
Called only for non-shared lists where all the list items serialized with the featureprivate CommonList
XmiCasDeserializer.XmiCasDeserializerHandler. updateExistingList(java.util.List<java.lang.String> values, CommonList existingList)
existingList guaranteed non-null, but could be EmptyList instance values could be null or empty Return the existing list or a replacement for it which might be an emptylistMethods in org.apache.uima.cas.impl with parameters of type CommonList Modifier and Type Method Description private boolean
CasCompare. addSuccessors(CommonList node, java.util.ArrayList<CommonList> al)
walk down list, adding successors, looking for loops - each element is added to the array list, and also to the map from id -> array list - if loop found, stop and return false - before adding element, see if already in map from id -> array list -- if so, couple the array listsprivate void
CasCompare. couple_array_lists(java.util.ArrayList<CommonList> a1, java.util.ArrayList<CommonList> a2, CommonList commonNode)
merge a2 to follow a1, starting from position where commonNode is in a2private CommonList
XmiCasDeserializer.XmiCasDeserializerHandler. createOrUpdateList(TypeImpl listType, java.util.List<java.lang.String> values, int xmiId, CommonList existingList)
Called only for non-shared lists where all the list items serialized with the featureprivate java.lang.String
XmiCasSerializer.XmiDocSerializer. listToString(CommonList fs)
Converts a CAS List of Int, Float, or FsRefs to its string representation for use in multi-valued XMI properties.private CommonList
XmiCasDeserializer.XmiCasDeserializerHandler. updateExistingList(java.util.List<java.lang.String> values, CommonList existingList)
existingList guaranteed non-null, but could be EmptyList instance values could be null or empty Return the existing list or a replacement for it which might be an emptylistMethod parameters in org.apache.uima.cas.impl with type arguments of type CommonList Modifier and Type Method Description private boolean
CasCompare. addSuccessors(CommonList node, java.util.ArrayList<CommonList> al)
walk down list, adding successors, looking for loops - each element is added to the array list, and also to the map from id -> array list - if loop found, stop and return false - before adding element, see if already in map from id -> array list -- if so, couple the array listsprivate void
CasCompare. convert_to_array(java.util.ArrayList<CommonList> al, java.util.ArrayList<TOP> fss, CASImpl view, TypeSystemImpl tsi)
Convert an array list to a uima array (int, float, fs, string) - add to fss - go thru fss and null out list elementsprivate void
CasCompare. couple_array_lists(java.util.ArrayList<CommonList> a1, java.util.ArrayList<CommonList> a2, CommonList commonNode)
merge a2 to follow a1, starting from position where commonNode is in a2private void
CasCompare. move_to_non_linear(java.util.ArrayList<CommonList> al)
-
Uses of CommonList in org.apache.uima.jcas.cas
Subinterfaces of CommonList in org.apache.uima.jcas.cas Modifier and Type Interface Description interface
NonEmptyList
a marker interface for nonempty listsClasses in org.apache.uima.jcas.cas that implement CommonList Modifier and Type Class Description class
EmptyFloatList
class
EmptyFSList<T extends TOP>
class
EmptyIntegerList
class
EmptyStringList
class
FloatList
class
FSList<T extends TOP>
T extends TOP, v2 already mandated TOP for set/getclass
IntegerList
class
NonEmptyFloatList
class
NonEmptyFSList<T extends TOP>
class
NonEmptyIntegerList
class
NonEmptyStringList
class
StringList
Methods in org.apache.uima.jcas.cas that return CommonList Modifier and Type Method Description CommonList
CommonList. createNonEmptyNode()
Creates a non empty nodeCommonList
CommonList. emptyList()
default CommonList
CommonList. getCommonTail()
default impl for empty and nonempty listsdefault CommonList
CommonList. getNonEmptyNthNode(int i)
Like GetNthNode, but throws exception if emptydefault CommonList
CommonList. getNthNode(int i)
Get the nth node.default CommonList
CommonList. insertNode()
insert a new nonempty node following this nodedefault CommonList
CommonList. pushNode()
Creates a new node and pushes it onto the front of the existing nodeMethods in org.apache.uima.jcas.cas with parameters of type CommonList Modifier and Type Method Description default void
CommonList. setTail(CommonList v)
sets the tail of this nodevoid
NonEmptyFloatList. setTail(CommonList v)
void
NonEmptyFSList. setTail(CommonList v)
void
NonEmptyIntegerList. setTail(CommonList v)
void
NonEmptyStringList. setTail(CommonList v)
-