Uses of Interface
org.apache.uima.jcas.cas.CommonList
Packages that use CommonList
Package
Description
Implementation and Low-Level API for the CAS Interfaces.
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 CommonListFields in org.apache.uima.cas.impl with type parameters of type CommonListModifier and TypeFieldDescriptionprivate final Int2ObjHashMap
<ArrayList<CommonList>, ArrayList<CommonList>> CasCompare.map_e_to_a_list
key = _id, value = arraylist holding well-formed list with this node in itprivate final Int2ObjHashMap
<ArrayList<CommonList>, ArrayList<CommonList>> CasCompare.map_e_to_a_list
key = _id, value = arraylist holding well-formed list with this node in itprivate final 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 CommonListModifier and TypeMethodDescriptionprivate CommonList
XmiCasDeserializer.XmiCasDeserializerHandler.createListFromStringValues
(List<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
(List<String> stringValues, EmptyList emptyNode) private CommonList
XmiCasDeserializer.XmiCasDeserializerHandler.createOrUpdateList
(TypeImpl listType, List<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
(List<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 CommonListModifier and TypeMethodDescriptionprivate boolean
CasCompare.addSuccessors
(CommonList node, 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
(ArrayList<CommonList> a1, ArrayList<CommonList> a2, CommonList commonNode) merge a2 to follow a1, starting from position where commonNode is in a2private CommonList
XmiCasDeserializer.XmiCasDeserializerHandler.createOrUpdateList
(TypeImpl listType, List<String> values, int xmiId, CommonList existingList) Called only for non-shared lists where all the list items serialized with the featureprivate 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
(List<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 CommonListModifier and TypeMethodDescriptionprivate boolean
CasCompare.addSuccessors
(CommonList node, 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
(ArrayList<CommonList> al, 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
(ArrayList<CommonList> a1, ArrayList<CommonList> a2, CommonList commonNode) merge a2 to follow a1, starting from position where commonNode is in a2private void
CasCompare.move_to_non_linear
(ArrayList<CommonList> al) -
Uses of CommonList in org.apache.uima.jcas.cas
Subinterfaces of CommonList in org.apache.uima.jcas.casModifier and TypeInterfaceDescriptioninterface
a marker interface for nonempty listsClasses in org.apache.uima.jcas.cas that implement CommonListModifier and TypeClassDescriptionclass
class
EmptyFSList<T extends TOP>
class
class
class
class
T extends TOP, v2 already mandated TOP for set/getclass
class
class
NonEmptyFSList<T extends TOP>
class
class
class
Methods in org.apache.uima.jcas.cas that return CommonListModifier and TypeMethodDescriptionCommonList.createNonEmptyNode()
Creates a non empty nodeCommonList.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 CommonListModifier and TypeMethodDescriptiondefault 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)