Package it.tidalwave.util
-
Interface Summary Interface Description As Objects implementing this interface can provide am adapter of the required type.As.NotFoundBehaviour<T> Callback A simple callback that can throw any kind of exception.Finder<TYPE> A factory for providing results of a search.Finder.InMemorySortCriterion<TYPE> 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> 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.Defaults As.Ref<T> BundleUtilities Facility class to manage resource bundles.ConcurrentHashMapWithOptionals<K,V> A specialisation ofConcurrentHashMap
withOptional
support.Finder.InMemorySortCriterion.DefaultInMemorySortCriterion<T> 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> 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.ReflectionUtils Just slightly adapted from http://www.artima.com/weblogs/viewpost.jsp?thread=208860SimpleTask StreamOperations 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.