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_listkey = _id, value = arraylist holding well-formed list with this node in itprivate final Int2ObjHashMap<ArrayList<CommonList>, ArrayList<CommonList>> CasCompare.map_e_to_a_listkey = _id, value = arraylist holding well-formed list with this node in itprivate final Obj2IntIdentityHashMap<CommonList> CasCompare.node_indexesa 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 CommonListXmiCasDeserializer.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) CommonListXmiCasDeserializer.XmiCasDeserializerHandler.createListFromStringValues(List<String> stringValues, EmptyList emptyNode) private CommonListXmiCasDeserializer.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 CommonListXmiCasDeserializer.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 booleanCasCompare.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 voidCasCompare.couple_array_lists(ArrayList<CommonList> a1, ArrayList<CommonList> a2, CommonList commonNode) merge a2 to follow a1, starting from position where commonNode is in a2private CommonListXmiCasDeserializer.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 StringXmiCasSerializer.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 CommonListXmiCasDeserializer.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 booleanCasCompare.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 voidCasCompare.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 voidCasCompare.couple_array_lists(ArrayList<CommonList> a1, ArrayList<CommonList> a2, CommonList commonNode) merge a2 to follow a1, starting from position where commonNode is in a2private voidCasCompare.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 TypeInterfaceDescriptioninterfacea marker interface for nonempty listsClasses in org.apache.uima.jcas.cas that implement CommonListModifier and TypeClassDescriptionclassclassEmptyFSList<T extends TOP>classclassclassclassT extends TOP, v2 already mandated TOP for set/getclassclassclassNonEmptyFSList<T extends TOP>classclassclassMethods in org.apache.uima.jcas.cas that return CommonListModifier and TypeMethodDescriptionCommonList.createNonEmptyNode()Creates a non empty nodeCommonList.emptyList()default CommonListCommonList.getCommonTail()default impl for empty and nonempty listsdefault CommonListCommonList.getNonEmptyNthNode(int i) Like GetNthNode, but throws exception if emptydefault CommonListCommonList.getNthNode(int i) Get the nth node.default CommonListCommonList.insertNode()insert a new nonempty node following this nodedefault CommonListCommonList.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 voidCommonList.setTail(CommonList v) sets the tail of this nodevoidNonEmptyFloatList.setTail(CommonList v) voidNonEmptyFSList.setTail(CommonList v) voidNonEmptyIntegerList.setTail(CommonList v) voidNonEmptyStringList.setTail(CommonList v)