Package org.apache.uima.internal.util


package org.apache.uima.internal.util
  • Class
    Description
    A pool of Analysis Engines, which supports reconfiguration.
    Some utilities for dealing with Arrays.
    Simple binary tree class.
    The BrowserUtil class provides one static method - openUrlInDefaultBrowser, which opens the given URL in the default web browser for the current user of the system.
    Collection of utilities for character handling.
    A map from subsequences of a character array to objects.
    An unsafe String class based on a publicly accessible character array.
    Utilities supporting a unified approach to loading classes, incorporating the resource manager's class loader if available, and making use of the Thread Context Class Loader (TCCL) For backwards compatibility, if a class is not found using the Thread Context Class Loader, for classloading: try again using the class loader for this class since that's what the previous impl did, and some applications will break otherwise, with class-not-found.
    INTERNAL API - Helper functions to obtain a suitable class loader.
    Simple command line parsing utility.
    A common superclass for hash maps and hash sets
     
    Interface for a comparable FSIterator.
    Interface for a comparable IntListIterator.
    implements ObjHashSet partially, for iterator use
    implements OrderedFsSet_array partially, for iterator use
    Allow a PrintStream to specify an encoding.
    A simple graph class.
    Interface for a generic node in a graph.
    Internationaliation utilities.
    Common implementation of InternationalizedException and InternationalizedRuntimeException
    Reference implementation of InstrumentationFacility.
    A map<int, int> based on having a key and value int array, where the keys are sorted Supports sharing a single key array with multiple value arrays Implements Map - like interface: keys and values are ints values can be anything except 0; 0 is the value returned by get if not found All adds must occur before any gets; then a sort must be called unless the adds are in sort order Threading: instances of this class may be accessed on multiple threads (different iterators may be on different threads)
    Int2ObjHashMap<T,E extends T>
    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.
    A map<int, T> based on ArrayList This impl is for use in a single thread case only Implements Map - like interface: keys are ints ≥ 0 values can be anything, but null is the value returned by get if not found so values probably should not be null remove not currently supported
    Utilities used by some of the IntX classes.
    A set of non-zero positive ints.
    Compare two integers.
    A set of non-zero ints.
    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.
    This class implements a set of integers.
    A stack of integers.
    Like java.util.Vector, but elements are ints.
    Simple implementation of UimaTimer using System.currentTimeMillis().
    Utility class for registering MBeans with a JMX MBeanServer.
     
     
    Class Loader for loading localized messages See https://issues.apache.org/jira/browse/UIMA-1714 Delegates to other ClassLoaders, in the following order the class loader that loaded the 2nd previous caller the class loader that loaded the 3rd previous caller etc.
    A Map from non-null Objects of type T to ints int value 0 reserved to mean object is not in the table.
    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 closer
    This 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 copy
    This is used in a particular manner: only used to create iterators over that subset -- no insert/delete
    Pair<T,U>
     
    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.
    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.
    String replacement utility.
    Result class for string replacement.
    This class represents a simple pool of Resource instances.
    Serialize and Deserialize arbitrary objects to/from byte arrays, using standard Java object serialization/deserialization support.
    A set of integers, maintained as a sorted array.
    Straightforward, many-to-one map from Strings to ints, based on a Java HashMap.
    An assorted collection of string utilities.
    The SymbolTable class provides a generic symbol table.
    Return a java Properties object containing environment variables.
    Deprecated.
    As of v2.0, use AnalysisEnginePool instead.
    An implementation of a text tokenizer for whitespace separated natural language text.
    An implementation of a text tokenizer for whitespace separated natural lanuage text.
    Simple timer class.
    Encode a span of time.
    UIMAClassLoader is used as extension ClassLoader for UIMA to load additional components like annotators and resources.
    JSR47 log formatter for UIMA JSR47Logger Provides a log format which looks like: timestamp; threadID; sourceInfo; Message level; message e.g. 7/12/04 2:15:35 PM - 10: org.apache.uima.util.TestClass.main(62): INFO: You are not logged in!
    UIMAStreamHandler is used to handle output streams set during runtime.
    Exception class for package org.apache.uima.util.
    Deprecated.
    use Misc instead
    Utility class for generating UUIDs.
    Implements a combination of WeakHashMap and IdentityHashMap.
    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).
    Data structure used to encapsulate an XML element name (including Namespace URI, local name, and the qname) as well as its attributes and character content.
    Some utilities for working with XML.