Package org.tentackle.misc
package org.tentackle.misc
Miscellaneous stuff.
Everything that doesn't fit elsewhere.
Everything that doesn't fit elsewhere.
-
ClassDescriptionAbstractPool<T extends Poolable<T>>Base implementation of a pool managing
Poolableresources.
It allows min/max sizes, fixed increments, and timeouts for unused instances.AbstractPoolSlot<T extends Poolable<T>>A slot holding a poolable managed by a pool.Similar toConsumerbut allows checked exceptions.A blocking holder.
thread a waits on get() until... thread b invokes accept()Utility to canonicalize objects.Command line arguments and options.A compound value.The value type of strings.Methods related to concurrency and multithreading.Convertible<T>A convertible object.A copy-on-write wrapper for collections.
The first modifying operation creates a clone to leave the original collection untouched.Wrapper for an iterator that forbids invocations of the remove()-method.A copy-on-write wrapper for lists.
The first modifying operation creates a clone to leave the original list untouched.Wrapper for a list iterator that forbids modifying method invocations.A copy-on-write wrapper for sets.
The first modifying operation creates a clone to leave the original set untouched.Converts values to or from a string separated by delimiters.
Implements RFC 4180 as well.Utility methods related to thejava.timeAPI.Default properties resource based onFileHelper.Utilities for diagnostic purposes.Formatting helper methods.Patterns to initialize formatting.Holder<T>A generic consumer and supplier to hold some object.
Useful in lambdas if some data has to be set within the enclosing method.Objects that can be identified by an ID.IdentifiableKey<T extends Identifiable>Key for an Identifiable.
Can be used for hashing or as a comparable.IdentifiableMap<T extends Identifiable>A map ofIdentifiables.A tuple holding the ID, serial and name of an object.
There is no further logic.A tuple holding the ID and the serial of an object.
There is no further logic.Objects implementing this interface may be mutable or immutable.Enhanced collection.Runtime exception thrown when attempted to modify an immutable object.A thread-inheritable thread-local hashtable.Bundle for misc-package in tentackle-core.Interface for objects that can tell whether they are modified or not.Thread-safe named counter.NamedValue<T>Thread-safe named value.Object utility methods.A pool managing poolable resources.A resource that can be managed by aPool.A slot in a pool.Timeout thread to monitorPools.
There is only one such thread for all pools.Loads properties from some resource and applies it to aPropertiesobject.
Implementations must be annotated with @PropertiesResourceService.Annotation forPropertiesResources.Event fired when a property is modified.Listener to track property modifications.Replacement forjava.beans.PropertyChangeSupportas this becomes part of the Swing desktop module in Java 9.Similar toSupplierbut allows checked exceptions.A scrollable resource.
A ScrollableResource is a wrapper around a resource.Identifiable providing a serial number.A short and a long text.
A ShortLongText is something very simple and common: a short String and a longer more detailed description of an object.Snapshotable<T>Interface for objects providing the snapshot functionality.A segment of string.
Describes a substring by its indexes within a string.
The substring itself is built lazily, thus allowing index computations without string creations.A duration.Implementation of aTrackedList.TrackedList<E>A List with the ability to tell whether it has been structurally modified.A listener forTrackedListevents.The user's home cache.AHolderwith a volatile object reference.