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 CommonListCasCompare. removed_list_markerFields 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_listkey = _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_listkey = _id, value = arraylist holding well-formed list with this node in itprivate 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 CommonList Modifier and Type Method Description private CommonListXmiCasDeserializer.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) CommonListXmiCasDeserializer.XmiCasDeserializerHandler. createListFromStringValues(java.util.List<java.lang.String> stringValues, EmptyList emptyNode)private CommonListXmiCasDeserializer.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 CommonListXmiCasDeserializer.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 booleanCasCompare. 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 voidCasCompare. 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 CommonListXmiCasDeserializer.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.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(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 booleanCasCompare. 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 voidCasCompare. 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 voidCasCompare. 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 voidCasCompare. 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 interfaceNonEmptyLista marker interface for nonempty listsClasses in org.apache.uima.jcas.cas that implement CommonList Modifier and Type Class Description classEmptyFloatListclassEmptyFSList<T extends TOP>classEmptyIntegerListclassEmptyStringListclassFloatListclassFSList<T extends TOP>T extends TOP, v2 already mandated TOP for set/getclassIntegerListclassNonEmptyFloatListclassNonEmptyFSList<T extends TOP>classNonEmptyIntegerListclassNonEmptyStringListclassStringListMethods in org.apache.uima.jcas.cas that return CommonList Modifier and Type Method Description CommonListCommonList. createNonEmptyNode()Creates a non empty nodeCommonListCommonList. 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 CommonList Modifier and Type Method Description default 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)
-