Package it.tidalwave.util
package it.tidalwave.util
-
ClassDescriptionObjects implementing this interface can provide am adapter of the required type.As.Type<T>A type reference for roles that can be used in place of a class literal, especially when roles with generics are used.This exception is thrown by an
as(...)
method that is expected to retrieve a role for a given datum, when the role is not found.An extension to be used with Lombok in order to provide "as" support to classes that don't implement theAs
interface.Facility class to manage resource bundles.A simple callback that can throw any kind of exception.This class contains a bunch of utility methods for manipulating lists.A specialisation ofConcurrentHashMap
withOptional
support.A facility to register and unregister global and local DCI contexts.Used byA locator for theContextManager
which uses theServiceLoader
facility to be independent of any DI framework.ContextManager.RunnableWithException<E extends Throwable>ContextManager.SupplierWithException<T,E extends Throwable> Notifies that the current operation failed because it would create an illegal duplication (of objects, of ids, etc...)Finder<T>A factory for providing results of a search.An interface that should be implemented by specificFinder.SortCriterion
objects which are capable to implement by themselves the sorting of objects, by post-processing an existing collection of objects.A tag interface to mark objects which are meaningful sort criteria that can be passed toFinder.sort(it.tidalwave.util.Finder.SortCriterion)
.An enumeration to define the direction of a sort (ascending or descending).A collections of utility methods for simplifying the syntax of lambda expressions with APIs that don't accept checked exceptions (such asStream
): they provide wrapped functions that have no checked exception in the signature and whose implementation delegates to the original function wrapping an eventual checked exception into aRuntimeException
.An opaque wrapper for identifiers.A factory for creating a new, uniqueId
for an object.Initializer<T>Key<T>LazySupplier<T>A supplier of an object that is lazily evaluated (when its value is requested for the first time).A factory class for localizedDateTimeFormatter
s in various flavours, specified by theFormatStyle
.A callback associated with a name.Notifies that a searched object couldn't be found.Pair<A,B> A value object that contains a pair of values.This class provides a few static utility methods to manipulate arguments to methods.A facility that provides means for launching an external process, scraping its stdout and stderr in real-time and sending commands by means of its stdin.This interface provides operations that can be performed on the stdout or stderr consoles attached to the external process.A listener that is invoked whenever a line is read from the console.Adapted from this articleRoleFactory<T>A utility that returns short qualified names for class literals and objects.A collection of operations onStream
s.This interface should be implemented by classes for which is meaningful to be converted into aString
.A class which encapsulates a task.A provider of current time.Triple<A,B, C> A value object that contains a triple of values.A map that is type safe, i.e. the pairs (key, value) are type-checked.A map that is type safe, i.e. the pairs (key, value) are type-checked, and can contain multiple values, i.e. it's associated to collections (key, collection of values).