Package it.tidalwave.util
-
Interface Summary Interface Description As Objects implementing this interface can provide am adapter of the required type.Callback A simple callback that can throw any kind of exception.ContextManager A facility to register and unregister global and local DCI contexts.ContextManager.RunnableWithException<E extends java.lang.Throwable> ContextManager.SupplierWithException<T,E extends java.lang.Throwable> Finder<T> A factory for providing results of a search.Finder.InMemorySortCriterion<U> 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.Finder.SortCriterion A tag interface to mark objects which are meaningful sort criteria that can be passed toFinder.sort(it.tidalwave.util.Finder.SortCriterion)
.Initializer<T> PreferencesHandler ProcessExecutor 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.ProcessExecutor.ConsoleOutput This interface provides operations that can be performed on the stdout or stderr consoles attached to the external process.ProcessExecutor.ConsoleOutput.Listener A listener that is invoked whenever a line is read from the console.RoleFactory<T> StringValue This interface should be implemented by classes for which is meaningful to be converted into aString
.TimeProvider A provider of current time.TypeSafeMap A map that is type safe, i.e.TypeSafeMultiMap A map that is type safe, i.e. -
Class Summary Class Description 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.AsExtensions An extension to be used with Lombok in order to provide "as" support to classes that don't implement theAs
interface.BundleUtilities Facility class to manage resource bundles.CollectionUtils This class contains a bunch of utility methods for manipulating lists.ConcurrentHashMapWithOptionals<K,V> A specialisation ofConcurrentHashMap
withOptional
support.ContextManager.Binder Used byContextManager.Inner A locator for theContextManager
which uses theServiceLoader
facility to be independent of any DI framework.Finder.InMemorySortCriterion.DefaultInMemorySortCriterion<U> FunctionalCheckedExceptionWrappers 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
.Id An opaque wrapper for identifiers.Initializer.EmptyInitializer<K> Key<T> LazySupplier<T> A supplier of an object that is lazily evaluated (when its value is requested for the first time).LocalizedDateTimeFormatters A factory class for localizedDateTimeFormatter
s in various flavours, specified by theFormatStyle
.NamedCallback A callback associated with a name.Pair<A,B> A value object that contains a pair of values.Parameters This class provides a few static utility methods to manipulate arguments to methods.PreferencesHandler.Inner ReflectionUtils Adapted from this articleShortNames A utility that returns short qualified names for class literals and objects.SimpleTask StreamUtils A collection of operations onStream
s.Task<T,E extends java.lang.Throwable> A class which encapsulates a task.TimeProvider.DefaultTimeProvider Triple<A,B,C> A value object that contains a triple of values. -
Enum Summary Enum Description Finder.SortDirection An enumeration to define the direction of a sort (ascending or descending). -
Exception Summary Exception Description AsException This exception is thrown by anas(...)
method that is expected to retrieve a role for a given datum, when the role is not found.DuplicateException Notifies that the current operation failed because it would create an illegal duplication (of objects, of ids, etc...)NotFoundException Notifies that a searched object couldn't be found.