commons
commons copied to clipboard
Common classes, mostly pertaining to concurrency.
tantaman.commons
Useful Java libraries mostly pertaining to concurrency.
building: "mvn package"
A Tour of tantaman.commons
tantaman.commons.collections
- BadAzz - Wraps a collection up in a user defined interface. Whenever a method is called on the wrapped collection that method is applied to all members of the collection. Similar to how jQuery functions. More...
tantaman.commons.concurrent
- NamedThreadFactory - Creates and names threads with a specified name. More...
- Parallel - Provides an implementation of C#'s Parallel.ForEach. More...
tantaman.commons.concurrent.executors
- FoldingExecutor - An executor that can fold or discard duplicate task submissions. More...
- ObservableFuturesThreadPool - A thread pool that returns futures that can be observed for completion. More...
tantaman.commons.concurrent.throttler
- InvocationCombiner - A service that combines all invocations that occur within a given time threshold. More...
- TODO: Debouncer...
tantaman.commons.gc
- GCNotifier - Allows one to be notified when specific objects have been garbage collected, without using finalizers. More...
tantaman.commons.lang
- DelegatingHashCodeAndEquals - Delegates hashCode and equals calls to a specified delegate. More...
- ObjectUtils - Various methods for working with and creating objects. More...
tantaman.commons.listeners
- WeakListenerSet - A set that holds listeners weakly. More...
- EventEmitter - Simplified listener and event management that still retains data types. More...
- EventEmitterMulti - Simplified listener and event management that still retains data types. More...
- AbstractMultiEventSource - Simplifies the use of EventEmitter for the most common use case. More...
tantaman.commons.ref
- KeyedWeakReference - A weak reference that maintains a key. Useful in maps. More...
- KeyedSoftReference - A soft reference that maintains a key. Useful in maps. More...