Uses of Package
org.apache.uima.internal.util
Package
Description
Apache UIMA
Implementation and Low-Level API for the CAS Interfaces.
JCAS model for built-in CAS types
-
-
-
ClassDescriptionInt iterator moving forwards and backwards, in the UIMA style.Like
java.util.Vector
, but elements areint
s.An set of non-zero integers, ability to iterate over them (possibly in a sorted way), with O(1) operations for adding, removing, and testing for contains.Data structure representing an XML attribute.Data structure used to encapsulate the different pieces of information that make up the name of an XML element - namely, the Namespace URI, the local name, and the qname (qualified name). -
ClassDescriptionA pool of Analysis Engines, which supports reconfiguration.Simple binary tree class.An unsafe String class based on a publicly accessible character array.A common superclass for hash maps and hash setsInterface for a generic node in a graph.A map<int, T> based on JCasHashMap, but without the multi-threading support This impl is for use in a single thread case only Supports shrinking (reallocating the big table) Implements Map - like interface: keys are non-0 ints - 0 is reserved for the empty key slot - Integer.MIN_VALUE is reserved for removed slot values can be anything, but null is the value returned by get if not found so values probably should not be null remove supported by replacing the value slot with null, and replacing the key slot with a "removed" token.Used in the CAS implementation.Int iterator in the Java style, but returning/using ints.Int iterator moving forwards and backwards, in the UIMA style.Like
java.util.Vector
, but elements areint
s.A set of Objects of type T This impl is for use in a single thread case only, when table is being updated.This one is being used, the other one (ending in 2) may be put back into service for large sizes, later. (7/2017) A set of FSs, ordered using a comparator Not thread-safe, use on single thread only Use: set-sorted indexes in UIMA Entries kept in order in 1 big TOP[] have ensureCapacity - grows by doubling up to multiplication-limit point, then by addition Adds optimized: - maintain high mark, if >, add to end shifting optimization: for removes: shift space to back or front, whichever is closer for adds: shift space from back or front, whichever is closerThis one not in current use Maybe be put back into service when the array becomes large and it starts outperforming the other A set of FSs, ordered using a comparator Not thread-safe, use on single thread only Use: set-sorted indexes in UIMA Entries kept in order in 1 big ArrayList Adds optimized: - maintain high mark, if >, add to end - batch adds other than above -- do when reference needed -- sort the to be added - to add to pos p, shift elements in p to higher, insert shifting optimization: removes replace element with null shift until hit null nullBlock - a group of nulls (free space) together - might be created by a batch add which adds a block of space all at once - might arise from encountering 1 or more "nulls" created by removes - id by nullBlockStart (inclusive) and nullBlockEnd (exclusive) bitset: 1 for avail slot used to compute move for array copyAn set of non-zero integers, ability to iterate over them (possibly in a sorted way), with O(1) operations for adding, removing, and testing for contains.Result class for string replacement.A set of integers, maintained as a sorted array.The SymbolTable class provides a generic symbol table.Encode a span of time.Implements a combination ofWeakHashMap
andIdentityHashMap
.Data structure representing an XML attribute.Data structure used to encapsulate the different pieces of information that make up the name of an XML element - namely, the Namespace URI, the local name, and the qname (qualified name). -
ClassDescriptionSimple binary tree class.Compare two integers.Used in the CAS implementation.Int iterator in the Java style, but returning/using ints.
-
-
ClassDescriptionUIMAClassLoader is used as extension ClassLoader for UIMA to load additional components like annotators and resources.
-