Classes which want to be asynchronously informed about properties changes should implement this interface and add themselves to the properties listeners by calling
Performs direct, synchronous runnable task execution in the current thread.
A Java thread with a
Persists a one or more 4-byte, integer index values to a specified file.
Tracks the individual index parameters and its location within the cache file.
This class extends
Allows multi-valued keys to be used in Java's single key
Contains the updated
When using a thread pool to execute tasks there is no guarantee the tasks will be executed in the same sequential order as offered to the pool.
Provides a simple way for an console-based, Java application main thread to wait until the virtual machine terminates.
Ternary search tree (TST)-based implementation of the
net.sf.eBus. These utilities either provide capabilities not provided by the Java standard edition or extend existing Java classes:
java.lang.Threadto provide event queue processing. This class provides the thread-safe method
EventThread.add(Object)to place events on the queue. Subclasses then provide methods for:
SequentialTask: Offers a different solution to the same problem that
EventThreadsolves: processing an object's tasks in chronological order.
EventThreadis a poor solution for a large number of threads and infrequent events. A
thread poolis preferable but the pool's threads execute tasks in an undetermined order. If tasks associated with the same object must execute in chronological order,
SequentialTaskguarantees that ordering. Tasks associated with different objects can execute in parallel.
HexDump: Binary data hex dump generator.
IndexCache: Stores the latest index value in a specified file. This class is used when a unique index value must be maintained across an application's separate executions. IndexCache does not support index sharing by multiple applications running simultaneously. It is designed to work with a single application only.
IndexPool: Tracks which integer indices are in use and returns to the caller the minimum index available. For example, if you need to use an index value between 0 and 99 inclusive and indices 0, 1 and 3 are in use, then
IndexPool.nextIndex()returns 2. The application is responsible for informing
IndexPoolwhen an index in no longer in use by calling
MultiKey: Allows multiple objects to be used as a single Java map key. Obviates the need for nested maps.
The multikey code belongs to Howard Lewis Ship and Stephen Colebourne and is under the Apache license.
java.lang.Propertiesclass. Provides access to multiple property files and additional methods for retrieving
Stringarrays from a properties list or placing into the properties list. Also provides
Properties.removeListener(PropertiesListener)methods. When the underlying properties file changes, Properties reloads the file and then informs all registered
TernarySearchTree: Implements the Bentley, Sedgewick ternary search tree (TST) as a Java map. Keys are restricted to Java character sequences. TST only partially follows the Java Map interface. The keySet, values and entrySet methods return collections that are not backed by the map. Modifying these returned collections does not modify the map.
java.util.TimerTask. Associates a
TimerTask. When the timer expires,