A B C D E F G H I K L M N O P R S T U V W Z _ 
All Classes All Packages

A

a - Variable in class it.tidalwave.util.Pair
 
a - Variable in class it.tidalwave.util.Triple
 
accumulator() - Method in class it.tidalwave.util.spi.ArrayListCollectorSupport
 
allKeys() - Static method in class it.tidalwave.util.Key
Returns all the keys registered in the system.
ANY - it.tidalwave.util.thread.ThreadType
 
ArrayListCollectorSupport<COLLECTED_TYPE,​COLLECTING_TYPE> - Class in it.tidalwave.util.spi
A support Collector which uses an ArrayList as the accumulator.
ArrayListCollectorSupport() - Constructor for class it.tidalwave.util.spi.ArrayListCollectorSupport
 
as(As.Type<? extends T>) - Method in interface it.tidalwave.util.As
Returns a role for this object of the specified type.
as(Class<? extends T>) - Method in interface it.tidalwave.util.As
Returns an adapter to this object of the specified type.
as(Class<? extends T>) - Method in interface it.tidalwave.util.spi.AsDelegate
Returns all role instances of the given type.
as(Object, As.Type<? extends T>) - Static method in class it.tidalwave.util.AsExtensions
 
as(Object, Class<T>) - Static method in class it.tidalwave.util.AsExtensions
 
As - Interface in it.tidalwave.util
Objects implementing this interface can provide am adapter of the required type.
As.Type<T> - Class in it.tidalwave.util
A type reference for roles that can be used in place of a class literal, especially when roles with generics are used.
ASCENDING - it.tidalwave.util.Finder.SortDirection
 
AsDelegate - Interface in it.tidalwave.util.spi
Implementation of this interface are responsible to find in the runtime all instances of DCI roles with the given type.
AsDelegateProvider - Interface in it.tidalwave.util.spi
 
AsDelegateProvider.EmptyAsDelegateProvider - Class in it.tidalwave.util.spi
 
AsDelegateProvider.Locator - Class in it.tidalwave.util.spi
 
AsException - Exception in it.tidalwave.util
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.
AsException(Class<?>) - Constructor for exception it.tidalwave.util.AsException
Creates an exception.
AsException(Class<?>, Throwable) - Constructor for exception it.tidalwave.util.AsException
Creates an exception with a cause.
AsExtensions - Class in it.tidalwave.util
An extension to be used with Lombok in order to provide "as" support to classes that don't implement the As interface.
AsExtensions() - Constructor for class it.tidalwave.util.AsExtensions
 
asMany(As.Type<? extends T>) - Method in interface it.tidalwave.util.As
Returns the requested role or an empty Optional.
asMany(Class<? extends T>) - Method in interface it.tidalwave.util.As
Searches for multiple adapters of the given type and returns them.
asMany(Object, As.Type<? extends T>) - Static method in class it.tidalwave.util.AsExtensions
 
asMany(Object, Class<? extends T>) - Static method in class it.tidalwave.util.AsExtensions
 
asMap() - Method in interface it.tidalwave.util.TypeSafeMap
Returns the contents as a plain Map.
asMap() - Method in interface it.tidalwave.util.TypeSafeMultiMap
Returns the contents as a plain Map.
assertThread(ThreadType) - Static method in class it.tidalwave.util.thread.ThreadAssertions
Asserts that the current thread is of the specified type.

B

b - Variable in class it.tidalwave.util.Pair
 
b - Variable in class it.tidalwave.util.Triple
 
BASE_0 - Static variable in class it.tidalwave.util.Pair
A base 0 index rebaser.
BASE_1 - Static variable in class it.tidalwave.util.Pair
A base 1 index rebaser.
BundleUtilities - Class in it.tidalwave.util
Facility class to manage resource bundles.
BundleUtilities() - Constructor for class it.tidalwave.util.BundleUtilities
 

C

c - Variable in class it.tidalwave.util.Triple
 
call() - Method in interface it.tidalwave.util.Callback
 
Callback - Interface in it.tidalwave.util
A simple callback that can throw any kind of exception.
canCancel() - Method in class it.tidalwave.util.ui.UserNotificationWithFeedback.Feedback
Checks whether the current instance has a callback for cancellation.
cancel() - Method in class it.tidalwave.util.ui.UserNotificationWithFeedback
Notifies a cancellation to the user notification.
canConfirm() - Method in class it.tidalwave.util.ui.UserNotificationWithFeedback.Feedback
Checks whether the current instance has a callback for confirmation.
caption - Variable in class it.tidalwave.util.ui.UserNotification
 
characteristics() - Method in class it.tidalwave.util.spi.ArrayListCollectorSupport
 
clear() - Method in class it.tidalwave.util.LazySupplier
 
clear() - Method in interface it.tidalwave.util.ProcessExecutor.ConsoleOutput
Clears the buffer of lines.
clear() - Method in class it.tidalwave.util.spi.DefaultProcessExecutor.DefaultConsoleOutput
Clears the buffer of lines.
clone() - Method in class it.tidalwave.util.spi.HierarchicFinderSupport
Deprecated. 
clone(Object) - Method in class it.tidalwave.util.spi.HierarchicFinderSupport
clonedWith(Object) - Method in class it.tidalwave.util.spi.HierarchicFinderSupport
Create a clone of this object calling the special copy constructor by reflection.
CollectionUtils - Class in it.tidalwave.util
This class contains a bunch of utility methods for manipulating lists.
CollectionUtils() - Constructor for class it.tidalwave.util.CollectionUtils
 
combiner() - Method in class it.tidalwave.util.spi.ArrayListCollectorSupport
 
compareTo(Id) - Method in class it.tidalwave.util.Id
compareTo(Key<?>) - Method in class it.tidalwave.util.Key
computeNeededResults() - Method in class it.tidalwave.util.spi.HierarchicFinderSupport
Subclasses can implement this method where *only the requested* raw results must be retrieved.
computeResults() - Method in class it.tidalwave.util.spi.FinderWithIdSupport
 
computeResults() - Method in class it.tidalwave.util.spi.HierarchicFinderSupport
Subclasses can implement this method where *all* the raw results must be actually retrieved.
concat(List<? extends T>, List<? extends T>) - Static method in class it.tidalwave.util.CollectionUtils
Appends a list to another.
concat(List<? extends T>, T) - Static method in class it.tidalwave.util.CollectionUtils
Appends a list to an object.
ConcurrentHashMapWithOptionals<K,​V> - Class in it.tidalwave.util
A specialisation of ConcurrentHashMap with Optional support.
ConcurrentHashMapWithOptionals() - Constructor for class it.tidalwave.util.ConcurrentHashMapWithOptionals
 
confirm() - Method in class it.tidalwave.util.ui.UserNotificationWithFeedback
Notifies a confirmation to the user notification.
containsKey(Key<?>) - Method in interface it.tidalwave.util.TypeSafeMap
Checks whether a pair has been stored.
containsKey(Key<?>) - Method in interface it.tidalwave.util.TypeSafeMultiMap
Checks whether a pair has been stored.
count() - Method in interface it.tidalwave.util.Finder
Performs the search and returns the count of found items.
count() - Method in class it.tidalwave.util.spi.HierarchicFinderSupport
Performs the search and returns the count of found items.
createAsDelegate(Object) - Method in interface it.tidalwave.util.spi.AsDelegateProvider
Creates an AsDelegate for the given object
createAsDelegate(Object) - Method in class it.tidalwave.util.spi.AsDelegateProvider.EmptyAsDelegateProvider
 
createRoleFor(T) - Method in interface it.tidalwave.util.RoleFactory
 
currentInstant() - Method in interface it.tidalwave.util.TimeProvider
Returns the current time.
currentInstant() - Method in class it.tidalwave.util.TimeProvider.DefaultTimeProvider
 
currentLocalDateTime() - Method in interface it.tidalwave.util.TimeProvider
Returns the current time.
currentZonedDateTime() - Method in interface it.tidalwave.util.TimeProvider
Returns the current time.

D

DEFAULT - Static variable in interface it.tidalwave.util.Finder.SortCriterion
 
DefaultConsoleOutput() - Constructor for class it.tidalwave.util.spi.DefaultProcessExecutor.DefaultConsoleOutput
 
DefaultInMemorySortCriterion() - Constructor for class it.tidalwave.util.Finder.InMemorySortCriterion.DefaultInMemorySortCriterion
 
DefaultProcessExecutor - Class in it.tidalwave.util.spi
 
DefaultProcessExecutor() - Constructor for class it.tidalwave.util.spi.DefaultProcessExecutor
 
DefaultProcessExecutor.DefaultConsoleOutput - Class in it.tidalwave.util.spi
 
DefaultTimeProvider() - Constructor for class it.tidalwave.util.TimeProvider.DefaultTimeProvider
 
DESCENDING - it.tidalwave.util.Finder.SortDirection
 
DuplicateException - Exception in it.tidalwave.util
Notifies that the current operation failed because it would create an illegal duplication (of objects, of ids, etc...)
DuplicateException() - Constructor for exception it.tidalwave.util.DuplicateException
Creates a messageless exception.
DuplicateException(String) - Constructor for exception it.tidalwave.util.DuplicateException
Creates an exception with a message.

E

empty() - Static method in interface it.tidalwave.util.Finder
Returns an empty Finder.
empty() - Static method in interface it.tidalwave.util.Initializer
 
empty() - Static method in interface it.tidalwave.util.spi.AsDelegateProvider
Returns an empty implementation.
EMPTY - Static variable in interface it.tidalwave.util.Callback
 
EMPTY_REF - Static variable in interface it.tidalwave.util.spi.AsDelegateProvider
 
EmptyAsDelegateProvider() - Constructor for class it.tidalwave.util.spi.AsDelegateProvider.EmptyAsDelegateProvider
 
EmptyInitializer() - Constructor for class it.tidalwave.util.Initializer.EmptyInitializer
 
entrySet() - Method in interface it.tidalwave.util.TypeSafeMap
Returns a set of all the contained (key, value) pairs.
entrySet() - Method in interface it.tidalwave.util.TypeSafeMultiMap
Returns a set of all the contained (key, value) pairs.
ExtendedFinderSupport<T,​F extends Finder<T>> - Interface in it.tidalwave.util.spi
A utility interface for creating extended Finders, it provides automatic covariant return types.

F

feedback - Variable in class it.tidalwave.util.ui.UserNotificationWithFeedback
 
feedback() - Static method in class it.tidalwave.util.ui.UserNotificationWithFeedback
Creates a new Feedback that does nothing.
Feedback() - Constructor for class it.tidalwave.util.ui.UserNotificationWithFeedback.Feedback
 
filteredAndSplitBy(String, String) - Method in interface it.tidalwave.util.ProcessExecutor.ConsoleOutput
Returns a Scanner over the latest line matching a given regular expression, with the specific delimiter regular expression.
filteredAndSplitBy(String, String) - Method in class it.tidalwave.util.spi.DefaultProcessExecutor.DefaultConsoleOutput
Returns a Scanner over the latest line matching a given regular expression, with the specific delimiter regular expression.
filteredBy(String) - Method in interface it.tidalwave.util.ProcessExecutor.ConsoleOutput
Returns a list of lines that match the given regular expression.
filteredBy(String) - Method in class it.tidalwave.util.spi.DefaultProcessExecutor.DefaultConsoleOutput
Returns a list of lines that match the given regular expression.
find() - Static method in class it.tidalwave.util.spi.AsDelegateProvider.Locator
 
find(Class<? extends T>, Object...) - Static method in class it.tidalwave.util.Parameters
Extracts multiple-value parameters of the given type from an array.
find(Class<? extends T>, T, Object...) - Static method in class it.tidalwave.util.Parameters
Extracts a singled-value parameter of the given type from an array.
findAll() - Method in class it.tidalwave.util.spi.FinderWithIdMapSupport
 
findAll() - Method in class it.tidalwave.util.spi.FinderWithIdSupport
 
findById(Id) - Method in class it.tidalwave.util.spi.FinderWithIdMapSupport
 
findById(Id) - Method in class it.tidalwave.util.spi.FinderWithIdSupport
 
Finder<T> - Interface in it.tidalwave.util
A factory for providing results of a search.
Finder.InMemorySortCriterion<U> - Interface in it.tidalwave.util
An interface that should be implemented by specific Finder.SortCriterion objects which are capable to implement by themselves the sorting of objects, by post-processing an existing collection of objects.
Finder.InMemorySortCriterion.DefaultInMemorySortCriterion<U> - Class in it.tidalwave.util
 
Finder.SortCriterion - Interface in it.tidalwave.util
A tag interface to mark objects which are meaningful sort criteria that can be passed to Finder.sort(it.tidalwave.util.Finder.SortCriterion).
Finder.SortDirection - Enum in it.tidalwave.util
An enumeration to define the direction of a sort (ascending or descending).
FinderWithId<T,​F extends ExtendedFinderSupport<T,​F>> - Interface in it.tidalwave.util.spi
A Finder that provides filtering by id.
FinderWithIdMapSupport<T,​I extends T,​F extends ExtendedFinderSupport<T,​F>> - Class in it.tidalwave.util.spi
An implementation of FinderWithIdSupport based on a Map.
FinderWithIdMapSupport() - Constructor for class it.tidalwave.util.spi.FinderWithIdMapSupport
 
FinderWithIdMapSupport(FinderWithIdMapSupport<T, I, F>, Object) - Constructor for class it.tidalwave.util.spi.FinderWithIdMapSupport
 
FinderWithIdSupport<T,​I extends T,​F extends ExtendedFinderSupport<T,​F>> - Class in it.tidalwave.util.spi
A support class for implementing a Finder that provides filtering by id.
FinderWithIdSupport() - Constructor for class it.tidalwave.util.spi.FinderWithIdSupport
 
FinderWithIdSupport(FinderWithIdSupport<T, I, F>, Object) - Constructor for class it.tidalwave.util.spi.FinderWithIdSupport
 
firstResult - Variable in class it.tidalwave.util.spi.HierarchicFinderSupport
 
firstResult() - Method in interface it.tidalwave.util.Finder
Deprecated.
forEach(BiConsumer<? super Key<?>, ? super Object>) - Method in interface it.tidalwave.util.TypeSafeMap
Performs the given action on all the pairs (key, value) contained in this map.
forEach(BiConsumer<? super Key<?>, ? super Collection<?>>) - Method in interface it.tidalwave.util.TypeSafeMultiMap
Performs the given action on all the pairs (key, value) contained in this map.
forExecutable(String) - Static method in class it.tidalwave.util.spi.DefaultProcessExecutor
Factory method for associating an executable.
forObject(Object) - Static method in interface it.tidalwave.util.As
Creates an As implementation delegate for the given object (or returns the object itself if it is the default implementation of As).
forObject(Object, Object) - Static method in interface it.tidalwave.util.As
Creates an As implementation delegate for the given object.
forObject(Object, Collection<Object>) - Static method in interface it.tidalwave.util.As
Creates an As implementation delegate for the given object.
from(int) - Method in interface it.tidalwave.util.Finder
Tells the Finder that only a subset of found items will be returned, starting from the given position.
from(int) - Method in interface it.tidalwave.util.spi.ExtendedFinderSupport
Tells the Finder that only a subset of found items will be returned, starting from the given position.
from(int) - Method in class it.tidalwave.util.spi.HierarchicFinderSupport
Tells the Finder that only a subset of found items will be returned, starting from the given position.
FunctionalCheckedExceptionWrappers - Class in it.tidalwave.util
A collections of utility methods for simplifying the syntax of lambda expressions with APIs that don't accept checked exceptions (such as Stream): 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 a RuntimeException.
FunctionalCheckedExceptionWrappers() - Constructor for class it.tidalwave.util.FunctionalCheckedExceptionWrappers
 

G

get() - Method in class it.tidalwave.util.LazySupplier
get() - Method in interface it.tidalwave.util.TimeProvider
Returns the current time.
get(Key<T>) - Method in interface it.tidalwave.util.TypeSafeMap
Deprecated.
get(Key<T>) - Method in interface it.tidalwave.util.TypeSafeMultiMap
Returns a value given its key.
getClass(Type) - Static method in class it.tidalwave.util.ReflectionUtils
 
getDateTimeFormatterFor(FormatStyle, Locale) - Static method in class it.tidalwave.util.LocalizedDateTimeFormatters
Returns a formatter.
getInstance() - Static method in interface it.tidalwave.util.TimeProvider
Returns the default instance.
getKeys() - Method in interface it.tidalwave.util.TypeSafeMap
Deprecated.
getKeys() - Method in interface it.tidalwave.util.TypeSafeMultiMap
Deprecated.
getListener() - Method in interface it.tidalwave.util.ProcessExecutor.ConsoleOutput
Returns the set listener
getMessage(Class<?>, String, Object...) - Static method in class it.tidalwave.util.BundleUtilities
Returns a localised message.
getMessage(Class<?>, Locale, String, Object...) - Static method in class it.tidalwave.util.BundleUtilities
Returns a localised message.
getOptional(Key<? extends T>) - Method in interface it.tidalwave.util.TypeSafeMap
Returns an optional value given its key.
getSize() - Method in interface it.tidalwave.util.TypeSafeMap
Deprecated.
Use TypeSafeMap.size() instead.
getSize() - Method in interface it.tidalwave.util.TypeSafeMultiMap
Deprecated.
getSource(Class<? extends U>, U, Object) - Static method in class it.tidalwave.util.spi.HierarchicFinderSupport
A utility method used by the copy constructor (see general documentation).
getStderr() - Method in interface it.tidalwave.util.ProcessExecutor
Returns the stderr console.
getStdout() - Method in interface it.tidalwave.util.ProcessExecutor
Returns the stdout console.
getType() - Method in class it.tidalwave.util.As.Type
 
getTypeArguments(Class<T>, Class<? extends T>) - Static method in class it.tidalwave.util.ReflectionUtils
Get the actual type arguments a subclass has used to extend a generic base class.

H

head(List<? extends T>) - Static method in class it.tidalwave.util.CollectionUtils
Returns the first element of a list.
HierarchicFinderSupport<T,​F extends Finder<T>> - Class in it.tidalwave.util.spi
A support class for implementing a Finder.
HierarchicFinderSupport() - Constructor for class it.tidalwave.util.spi.HierarchicFinderSupport
Default constructor.
HierarchicFinderSupport(HierarchicFinderSupport<T, F>, Object) - Constructor for class it.tidalwave.util.spi.HierarchicFinderSupport
Clone constructor for subclasses.
HierarchicFinderSupport(String) - Constructor for class it.tidalwave.util.spi.HierarchicFinderSupport
Creates an instance with the given name (that will be used for diagnostics).

I

Id - Class in it.tidalwave.util
An opaque wrapper for identifiers.
Id() - Constructor for class it.tidalwave.util.Id
 
indexedPairStream(int, int, IntFunction<? extends T>) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements returned by a supplier, made of Pairs (index, value).
indexedPairStream(int, int, IntFunction<? extends T>, IntUnaryOperator) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements returned by a supplier, made of Pairs (index, value).
indexedPairStream(int, int, IntFunction<? extends T>, IntUnaryOperator, IntFunction<? extends I>) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements returned by a supplier, made of Pairs (index, value).
indexedPairStream(Iterable<? extends T>) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements in a given Iterable made of Pairs (index, value).
indexedPairStream(Iterable<? extends T>, IntFunction<? extends I>) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements in a given Iterable made of Pairs (index, value).
indexedPairStream(Iterable<? extends T>, IntUnaryOperator) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements in a given Iterable made of Pairs (index, value).
indexedPairStream(Iterable<? extends T>, IntUnaryOperator, IntFunction<? extends I>) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements returned by an iterable, made of Pairs (index, value).
indexedPairStream(Stream<? extends T>) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements in a given Stream made of Pairs (index, value).
indexedPairStream(Stream<? extends T>, IntFunction<? extends I>) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements in a given Stream made of Pairs (index, value).
indexedPairStream(Stream<? extends T>, IntUnaryOperator) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements in a given Stream made of Pairs (index, value).
indexedPairStream(Stream<? extends T>, IntUnaryOperator, IntFunction<? extends I>) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements returned by a Stream, made of Pairs (index, value).
indexedPairStream(T[]) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements in a given array made of Pairs (index, value).
indexedPairStream(T[], IntFunction<? extends I>) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements in a given array made of Pairs (index, value).
indexedPairStream(T[], IntUnaryOperator) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements in the array, made of Pairs (index, value).
indexedPairStream(T[], IntUnaryOperator, IntFunction<? extends I>) - Static method in class it.tidalwave.util.Pair
Returns a Stream out of the elements in the array, made of Pairs (index, value).
initialize(K) - Method in class it.tidalwave.util.Initializer.EmptyInitializer
 
initialize(T) - Method in interface it.tidalwave.util.Initializer
 
Initializer<T> - Interface in it.tidalwave.util
 
Initializer.EmptyInitializer<K> - Class in it.tidalwave.util
 
intValue() - Method in enum it.tidalwave.util.Finder.SortDirection
 
it.tidalwave.util - package it.tidalwave.util
 
it.tidalwave.util.annotation - package it.tidalwave.util.annotation
 
it.tidalwave.util.spi - package it.tidalwave.util.spi
 
it.tidalwave.util.thread - package it.tidalwave.util.thread
 
it.tidalwave.util.thread.annotation - package it.tidalwave.util.thread.annotation
 
it.tidalwave.util.ui - package it.tidalwave.util.ui
 
iterator() - Method in interface it.tidalwave.util.Finder
Returns am iterator of results.

K

Key<T> - Class in it.tidalwave.util
 
Key(StringValue) - Constructor for class it.tidalwave.util.Key
Deprecated.
Key(String) - Constructor for class it.tidalwave.util.Key
Deprecated.
keySet() - Method in interface it.tidalwave.util.TypeSafeMap
Returns a set of all the contained keys.
keySet() - Method in interface it.tidalwave.util.TypeSafeMultiMap
Returns a set of all the contained keys.

L

latestLineMatches(String) - Method in interface it.tidalwave.util.ProcessExecutor.ConsoleOutput
Returns true if the latest received line matches the given regular expression.
latestLineMatches(String) - Method in class it.tidalwave.util.spi.DefaultProcessExecutor.DefaultConsoleOutput
Returns true if the latest received line matches the given regular expression.
LazySupplier<T> - Class in it.tidalwave.util
A supplier of an object that is lazily evaluated (when its value is requested for the first time).
LazySupplier() - Constructor for class it.tidalwave.util.LazySupplier
 
LocalizedDateTimeFormatters - Class in it.tidalwave.util
A factory class for localized DateTimeFormatters in various flavours, specified by the FormatStyle.
LocalizedDateTimeFormatters() - Constructor for class it.tidalwave.util.LocalizedDateTimeFormatters
 
Locator() - Constructor for class it.tidalwave.util.spi.AsDelegateProvider.Locator
 
lock(UserNotification) - Method in interface it.tidalwave.util.ui.LockableView
Shows a "Please wait..." notification and locks the UI.
LockableView - Interface in it.tidalwave.util.ui
A partial contract for a View that can be locked with a "Please wait..." notification.

M

mapping(Finder<V>, Function<? super V, ? extends U>) - Static method in interface it.tidalwave.util.Finder
Returns a mapping Finder on a given delegate Finder.
max(int) - Method in interface it.tidalwave.util.Finder
Tells the Finder that only a maximum number of found items will be returned.
max(int) - Method in interface it.tidalwave.util.spi.ExtendedFinderSupport
Tells the Finder that only a maximum number of found items will be returned.
max(int) - Method in class it.tidalwave.util.spi.HierarchicFinderSupport
Tells the Finder that only a maximum number of found items will be returned.
maxResults - Variable in class it.tidalwave.util.spi.HierarchicFinderSupport
 
maybeAs(As.Type<? extends T>) - Method in interface it.tidalwave.util.As
Returns the requested role or an empty Optional.
maybeAs(Class<? extends T>) - Method in interface it.tidalwave.util.As
Returns the requested role or an empty Optional.
maybeAs(Object, As.Type<? extends T>) - Static method in class it.tidalwave.util.AsExtensions
 
maybeAs(Object, Class<? extends T>) - Static method in class it.tidalwave.util.AsExtensions
 
mustNotBeArrayOrCollection(Object, String) - Static method in class it.tidalwave.util.Parameters
This method is for internal implementation only. Ensures that a given object is neither an array nor a collection.

N

NamedCallback - Class in it.tidalwave.util
A callback associated with a name.
NamedCallback() - Constructor for class it.tidalwave.util.NamedCallback
 
newInstance() - Static method in interface it.tidalwave.util.TypeSafeMap
Creates a new empty instance.
newInstance() - Static method in interface it.tidalwave.util.TypeSafeMultiMap
Creates a new empty instance.
NOT_UI - it.tidalwave.util.thread.ThreadType
 
NotFoundException - Exception in it.tidalwave.util
Notifies that a searched object couldn't be found.
NotFoundException() - Constructor for exception it.tidalwave.util.NotFoundException
Creates an empty exception.
NotFoundException(String) - Constructor for exception it.tidalwave.util.NotFoundException
Creates an exception with a message.
NotFoundException(String, Throwable) - Constructor for exception it.tidalwave.util.NotFoundException
Creates an exception with a message and a cause.
NotFoundException(Throwable) - Constructor for exception it.tidalwave.util.NotFoundException
Creates an exception with a cause.
notification() - Static method in class it.tidalwave.util.ui.UserNotification
Creates a notification with empty caption and text.
notificationWithFeedback() - Static method in class it.tidalwave.util.ui.UserNotificationWithFeedback
Creates a notification with empty caption and text.

O

of(Pair<T, U>, V) - Static method in class it.tidalwave.util.Triple
Creates a Triple from a Pair and another value.
of(Object) - Static method in class it.tidalwave.util.Id
 
of(String) - Static method in class it.tidalwave.util.Key
Creates an instance with the given name.
of(String, Class<T>) - Static method in class it.tidalwave.util.Key
Creates an instance with the given name and type.
of(Comparator<? super U>) - Static method in interface it.tidalwave.util.Finder.InMemorySortCriterion
Creates a new in-memory SortCriterion based on a Comparator.
of(Comparator<? super U>, String) - Static method in interface it.tidalwave.util.Finder.InMemorySortCriterion
Creates a new in-memory SortCriterion based on a Comparator.
ofCallable(Callable<? extends T>) - Static method in class it.tidalwave.util.Task
Creates a Task from a Callable.
ofCallback(Callback) - Static method in class it.tidalwave.util.Task
Creates a Task from a Callback.
ofCloned(Collection<? extends U>) - Static method in interface it.tidalwave.util.Finder
Returns a wrapped Finder on a given collection of elements.
ofCloned(Map<? extends Key<?>, ? extends Collection<?>>) - Static method in interface it.tidalwave.util.TypeSafeMultiMap
Creates an instance cloning the given map.
ofCloned(Map<? extends Key<?>, Object>) - Static method in interface it.tidalwave.util.TypeSafeMap
Creates an instance cloning the given map.
ofProvider(BiFunction<Integer, Integer, ? extends Collection<? extends U>>) - Static method in interface it.tidalwave.util.Finder
Returns a wrapped Finder on a given function to provide results.
ofRunnable(Runnable) - Static method in class it.tidalwave.util.Task
Creates a Task from a Runnable.
ofSupplier(Supplier<? extends Collection<? extends U>>) - Static method in interface it.tidalwave.util.Finder
Returns a wrapped Finder on a given supplier.
ofType(Class<U>) - Method in interface it.tidalwave.util.Finder
Tells the Finder that the specified type of results is expected.
ofType(Class<U>) - Method in class it.tidalwave.util.spi.HierarchicFinderSupport
Tells the Finder that the specified type of results is expected.
ofUuid() - Static method in class it.tidalwave.util.Id
 
onReceived(String) - Method in interface it.tidalwave.util.ProcessExecutor.ConsoleOutput.Listener
 
optionalFirstResult() - Method in interface it.tidalwave.util.Finder
Performs the search and returns only the first found item.
optionalHead(List<? extends T>) - Static method in class it.tidalwave.util.CollectionUtils
Returns the (optional) first element of a list.
optionalResult() - Method in interface it.tidalwave.util.Finder
Performs the search assuming that it will return a single item and returns it.

P

Pair<A,​B> - Class in it.tidalwave.util
A value object that contains a pair of values.
Pair() - Constructor for class it.tidalwave.util.Pair
 
pairRange(T, int, int) - Static method in class it.tidalwave.util.Pair
Creates a Stream of Pairs composed of a given fixed value and an integer in the given range.
pairRangeClosed(T, int, int) - Static method in class it.tidalwave.util.Pair
Creates a Stream of Pairs composed of a given fixed value and an integer in the given range.
pairsToMap() - Static method in class it.tidalwave.util.Pair
A Collector that produces a Map whose key is field a and value field b.
pairStream(T, Stream<? extends U>) - Static method in class it.tidalwave.util.Pair
Creates a Stream of Pairs composed of a given fixed value and another element taken from another Stream.
Parameters - Class in it.tidalwave.util
This class provides a few static utility methods to manipulate arguments to methods.
Parameters() - Constructor for class it.tidalwave.util.Parameters
 
ProcessExecutor - Interface in it.tidalwave.util
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 - Interface in it.tidalwave.util
This interface provides operations that can be performed on the stdout or stderr consoles attached to the external process.
ProcessExecutor.ConsoleOutput.Listener - Interface in it.tidalwave.util
A listener that is invoked whenever a line is read from the console.
putIfAbsentAndGetNewKey(Optional<? extends K>, V) - Method in class it.tidalwave.util.ConcurrentHashMapWithOptionals
If the map doesn't contain the given key, put the new pair(key, value), and return the key itself.
putIfAbsentAndGetNewKey(K, V) - Method in class it.tidalwave.util.ConcurrentHashMapWithOptionals
If the map doesn't contain the given key, put the new pair(key, value), and return the key itself.

R

r(Object...) - Static method in class it.tidalwave.util.Parameters
A convenience method for transforming a varargs of objects to a Collection.
ReflectionUtils - Class in it.tidalwave.util
Just slightly adapted from this article.
ReflectionUtils() - Constructor for class it.tidalwave.util.ReflectionUtils
 
reset() - Static method in class it.tidalwave.util.spi.AsDelegateProvider.Locator
This method is for testing only. Resets the global AsDelegateProvider; it must be called at the test completion whenever AsDelegateProvider.Locator.set(AsDelegateProvider) has been called, to avoid polluting the context of further tests.
result() - Method in interface it.tidalwave.util.Finder
Deprecated.
results() - Method in interface it.tidalwave.util.Finder
Performs the search and returns the found items.
results() - Method in class it.tidalwave.util.spi.HierarchicFinderSupport
Performs the search and returns the found items.
reversed(List<? extends T>) - Static method in class it.tidalwave.util.CollectionUtils
Reverses a list.
RoleFactory<T> - Interface in it.tidalwave.util
 
run() - Method in class it.tidalwave.util.Task
The method that must contain the body of the Task.

S

send(String) - Method in interface it.tidalwave.util.ProcessExecutor
Sends a string to the stdin of the running process.
send(String) - Method in class it.tidalwave.util.spi.DefaultProcessExecutor
Sends a string to the stdin of the running process.
set(AsDelegateProvider) - Static method in class it.tidalwave.util.spi.AsDelegateProvider.Locator
This method is for testing only. Sets the global AsDelegateProvider.
set(T) - Method in class it.tidalwave.util.LazySupplier
 
setListener(ProcessExecutor.ConsoleOutput.Listener) - Method in interface it.tidalwave.util.ProcessExecutor.ConsoleOutput
Sets a listener.
SimpleFinderSupport<T> - Class in it.tidalwave.util.spi
A starting point for implementing a custom Finder that is not an extended finder.
SimpleFinderSupport(SimpleFinderSupport<T>, Object) - Constructor for class it.tidalwave.util.spi.SimpleFinderSupport
 
SimpleFinderSupport(String) - Constructor for class it.tidalwave.util.spi.SimpleFinderSupport
 
SimpleTask - Class in it.tidalwave.util
A simple Task returning Void and only throwing RuntimeExceptions.
SimpleTask() - Constructor for class it.tidalwave.util.SimpleTask
 
size() - Method in interface it.tidalwave.util.TypeSafeMap
Returns the size of this map.
size() - Method in interface it.tidalwave.util.TypeSafeMultiMap
Returns the size of this map.
sort(Finder.SortCriterion) - Method in interface it.tidalwave.util.Finder
Tells the Finder that results will be sorted according to the given criterion, in ascending direction.
sort(Finder.SortCriterion) - Method in interface it.tidalwave.util.spi.ExtendedFinderSupport
Tells the Finder that results will be sorted according to the given criterion, in ascending direction.
sort(Finder.SortCriterion) - Method in class it.tidalwave.util.spi.HierarchicFinderSupport
Tells the Finder that results will be sorted according to the given criterion, in ascending direction.
sort(Finder.SortCriterion, Finder.SortDirection) - Method in interface it.tidalwave.util.Finder
Tells the Finder that results will be sorted according to the given criterion and direction.
sort(Finder.SortCriterion, Finder.SortDirection) - Method in interface it.tidalwave.util.spi.ExtendedFinderSupport
Tells the Finder that results will be sorted according to the given criterion and direction.
sort(Finder.SortCriterion, Finder.SortDirection) - Method in class it.tidalwave.util.spi.HierarchicFinderSupport
Tells the Finder that results will be sorted according to the given criterion and direction.
sort(List<? extends U>) - Method in interface it.tidalwave.util.Finder.InMemorySortCriterion
Performs the sort of results.
sort(List<? extends U>, Finder.SortDirection) - Method in class it.tidalwave.util.Finder.InMemorySortCriterion.DefaultInMemorySortCriterion
 
sort(List<? extends U>, Finder.SortDirection) - Method in interface it.tidalwave.util.Finder.InMemorySortCriterion
Performs the sort of results.
sorted(List<? extends T>) - Static method in class it.tidalwave.util.CollectionUtils
Sorts a list.
sorted(List<? extends T>, Comparator<? super T>) - Static method in class it.tidalwave.util.CollectionUtils
Sorts a list with a given Comparator.
start() - Method in interface it.tidalwave.util.ProcessExecutor
Starts the external process.
start() - Method in class it.tidalwave.util.spi.DefaultProcessExecutor.DefaultConsoleOutput
Should not be used by the programmer.
start() - Method in class it.tidalwave.util.spi.DefaultProcessExecutor
Starts the external process.
stop() - Method in interface it.tidalwave.util.ProcessExecutor
Stops the external process.
stop() - Method in class it.tidalwave.util.spi.DefaultProcessExecutor
Stops the external process.
stream() - Method in interface it.tidalwave.util.Finder
Returns a stream of results.
streamImpl() - Method in class it.tidalwave.util.spi.FinderWithIdSupport
 
StreamOperations - Class in it.tidalwave.util
A collection of operations on Streams.
StreamOperations() - Constructor for class it.tidalwave.util.StreamOperations
 
stringValue() - Method in class it.tidalwave.util.Id
Returns the String value of this object.
stringValue() - Method in class it.tidalwave.util.Key
Returns the String value of this object.
stringValue() - Method in interface it.tidalwave.util.StringValue
Returns the String value of this object.
StringValue - Interface in it.tidalwave.util
This interface should be implemented by classes for which is meaningful to be converted into a String.
supplier() - Method in class it.tidalwave.util.spi.ArrayListCollectorSupport
 

T

tail(List<? extends T>) - Static method in class it.tidalwave.util.CollectionUtils
Returns the tail element of a list, that is a list without the first element.
Task<T,​E extends java.lang.Throwable> - Class in it.tidalwave.util
A class which encapsulates a task.
Task() - Constructor for class it.tidalwave.util.Task
Creates a new Task.
Task(String) - Constructor for class it.tidalwave.util.Task
Creates a new Task with the given name.
text - Variable in class it.tidalwave.util.ui.UserNotification
 
ThreadAssertions - Class in it.tidalwave.util.thread
Facility class for asserting that the current thread is of some kind.
ThreadAssertions() - Constructor for class it.tidalwave.util.thread.ThreadAssertions
 
ThreadConfined - Annotation Type in it.tidalwave.util.thread.annotation
 
ThreadType - Enum in it.tidalwave.util.thread
 
throwWhenEmpty(T, String) - Static method in exception it.tidalwave.util.NotFoundException
Throws the NotFoundException when the passed collection is null or empty.
throwWhenEmpty(T, String, Object...) - Static method in exception it.tidalwave.util.NotFoundException
Throws the NotFoundException when the passed collection is null or empty.
throwWhenNull(T, String) - Static method in exception it.tidalwave.util.NotFoundException
Throws the NotFoundException when the passed object is null.
throwWhenNull(T, String, Object...) - Static method in exception it.tidalwave.util.NotFoundException
Throws the NotFoundException when the passed object is null.
TimeProvider - Interface in it.tidalwave.util
A provider of current time.
TimeProvider.DefaultTimeProvider - Class in it.tidalwave.util
 
toString() - Method in class it.tidalwave.util.Id
toString() - Method in class it.tidalwave.util.Task
Triple<A,​B,​C> - Class in it.tidalwave.util
A value object that contains a triple of values.
Triple() - Constructor for class it.tidalwave.util.Triple
 
tripleRange(Pair<T, U>, int, int) - Static method in class it.tidalwave.util.Triple
Creates a Stream of Triples composed of a given fixed Pair and an integer in the given range.
tripleRangeClosed(Pair<T, U>, int, int) - Static method in class it.tidalwave.util.Triple
Creates a Stream of Triples composed of a given fixed Pair and an integer in the given range.
tripleStream(Pair<T, U>, Stream<? extends V>) - Static method in class it.tidalwave.util.Triple
Creates a Stream of Triples composed of a given Pair and another element taken from Stream.
type() - Method in annotation type it.tidalwave.util.thread.annotation.ThreadConfined
 
type(Class<?>) - Static method in interface it.tidalwave.util.As
Creates a role type reference.
Type() - Constructor for class it.tidalwave.util.As.Type
 
TypeSafeMap - Interface in it.tidalwave.util
A map that is type safe, i.e.
TypeSafeMultiMap - Interface in it.tidalwave.util
A map that is type safe, i.e.

U

UI - it.tidalwave.util.thread.ThreadType
 
unlock() - Method in interface it.tidalwave.util.ui.LockableView
Dismisses the waiting notification and unlocks the UI.
UNSORTED - Static variable in interface it.tidalwave.util.Finder.SortCriterion
A special Finder.SortCriterion which indicates that no sort has been performed.
UserNotification - Class in it.tidalwave.util.ui
 
UserNotification() - Constructor for class it.tidalwave.util.ui.UserNotification
 
UserNotificationWithFeedback - Class in it.tidalwave.util.ui
This class models a user notification where a feedback is expected (confirmation or cancellation).
UserNotificationWithFeedback(String, String, UserNotificationWithFeedback.Feedback) - Constructor for class it.tidalwave.util.ui.UserNotificationWithFeedback
 
UserNotificationWithFeedback.Feedback - Class in it.tidalwave.util.ui
This class provides a few callback methods to notify a choice from the user.

V

valueOf(String) - Static method in enum it.tidalwave.util.Finder.SortDirection
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum it.tidalwave.util.thread.ThreadType
Returns the enum constant of this type with the specified name.
values() - Static method in enum it.tidalwave.util.Finder.SortDirection
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum it.tidalwave.util.thread.ThreadType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in interface it.tidalwave.util.TypeSafeMap
Returns a set of all the contained values.
values() - Method in interface it.tidalwave.util.TypeSafeMultiMap
Returns a set of all the contained values.
VisibleForTesting - Annotation Type in it.tidalwave.util.annotation
A documenting annotation to state that a given element has a less restrictive access modifier (e.g.

W

waitFor(String) - Method in interface it.tidalwave.util.ProcessExecutor.ConsoleOutput
Waits for a line matching the given regular expression to appear.
waitFor(String) - Method in class it.tidalwave.util.spi.DefaultProcessExecutor.DefaultConsoleOutput
Waits for a line matching the given regular expression to appear.
waitForCompletion() - Method in interface it.tidalwave.util.ProcessExecutor
Waits for the termination of the external process.
waitForCompletion() - Method in class it.tidalwave.util.spi.DefaultProcessExecutor
Waits for the termination of the external process.
with(Key<T>, T) - Method in interface it.tidalwave.util.TypeSafeMap
Create a new instance with an additional pair (key, value=
with(Key<T>, T) - Method in interface it.tidalwave.util.TypeSafeMultiMap
Creates a new instance with an additional pair (key, value).
withArgument(String) - Method in interface it.tidalwave.util.ProcessExecutor
Adds a single argument to pass to the external process.
withArgument(String) - Method in class it.tidalwave.util.spi.DefaultProcessExecutor
Adds a single argument to pass to the external process.
withArguments(String...) - Method in interface it.tidalwave.util.ProcessExecutor
Adds some arguments to pass to the external process.
withArguments(String...) - Method in class it.tidalwave.util.spi.DefaultProcessExecutor
Adds some arguments to pass to the external process.
withCaption(Class<?>, String, Object...) - Method in class it.tidalwave.util.ui.UserNotification
Associates a caption to the notification, retrieved from a resource bundle.
withCaption(Class<?>, String, Object...) - Method in class it.tidalwave.util.ui.UserNotificationWithFeedback
Associates a caption to the notification, retrieved from a resource bundle.
withCaption(String) - Method in class it.tidalwave.util.ui.UserNotification
Associates a caption to the notification.
withCaption(String) - Method in class it.tidalwave.util.ui.UserNotificationWithFeedback
Associates a caption to the notification.
withContext(Object) - Method in interface it.tidalwave.util.Finder
Tells the Finder that results should be created with the given context.
withContext(Object) - Method in interface it.tidalwave.util.spi.ExtendedFinderSupport
Tells the Finder that results should be created with the given context.
withContext(Object) - Method in class it.tidalwave.util.spi.HierarchicFinderSupport
Tells the Finder that results should be created with the given context.
withFeedback(UserNotificationWithFeedback.Feedback) - Method in class it.tidalwave.util.ui.UserNotificationWithFeedback
Associates a UserNotificationWithFeedback.Feedback to the notification.
withId(Id) - Method in interface it.tidalwave.util.spi.FinderWithId
 
withId(Id) - Method in class it.tidalwave.util.spi.FinderWithIdSupport
 
withText(Class<?>, String, Object...) - Method in class it.tidalwave.util.ui.UserNotification
Associates a text to the notification, retrieved from a resource bundle.
withText(Class<?>, String, Object...) - Method in class it.tidalwave.util.ui.UserNotificationWithFeedback
Associates a text to the notification, retrieved from a resource bundle.
withText(String) - Method in class it.tidalwave.util.ui.UserNotification
Associates a text to the notification.
withText(String) - Method in class it.tidalwave.util.ui.UserNotificationWithFeedback
Associates a text to the notification.
wrappedException(Throwable) - Static method in class it.tidalwave.util.FunctionalCheckedExceptionWrappers
Wraps a throwable with a RuntimeException.

Z

zip(Stream<? extends A>, Stream<? extends B>) - Static method in class it.tidalwave.util.StreamOperations
Zips two streams into a stream of Pairs.
zip(Stream<A>, Stream<B>, BiFunction<? super A, ? super B, ? extends R>) - Static method in class it.tidalwave.util.StreamOperations
Zips two streams.

_

__INSTANCE - Static variable in interface it.tidalwave.util.TimeProvider
 
_c(FunctionalCheckedExceptionWrappers.ConsumerWithException<? super T>) - Static method in class it.tidalwave.util.FunctionalCheckedExceptionWrappers
A wrapper for a Consumer that catches exceptions and wraps them into RuntimeExceptions.
_f(FunctionalCheckedExceptionWrappers.FunctionWithException<? super T, ? extends R>) - Static method in class it.tidalwave.util.FunctionalCheckedExceptionWrappers
A wrapper for a Function that catches exceptions and wraps them into RuntimeExceptions.
_NamedCallback_ - Static variable in class it.tidalwave.util.NamedCallback
 
_p(FunctionalCheckedExceptionWrappers.PredicateWithException<? super T>) - Static method in class it.tidalwave.util.FunctionalCheckedExceptionWrappers
A wrapper for a Predicate that catches exceptions and wraps them into RuntimeExceptions.
_r(FunctionalCheckedExceptionWrappers.RunnableWithException) - Static method in class it.tidalwave.util.FunctionalCheckedExceptionWrappers
A wrapper for an equivalent of Runnable that catches exceptions and wraps them into RuntimeExceptions.
_s(FunctionalCheckedExceptionWrappers.SupplierWithException<? extends T>) - Static method in class it.tidalwave.util.FunctionalCheckedExceptionWrappers
A wrapper for a Supplier that catches exceptions and wraps them into RuntimeExceptions.
_SortCriterion_ - Static variable in interface it.tidalwave.util.Finder.SortCriterion
 
A B C D E F G H I K L M N O P R S T U V W Z _ 
All Classes All Packages