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
All Classes All Packages
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
- addGlobalContext(Object) - Method in interface it.tidalwave.util.ContextManager
-
Adds a global context.
- addLocalContext(Object) - Method in interface it.tidalwave.util.ContextManager
-
Adds a local context.
- 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 anArrayList
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(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
- 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.
- autoThreadBinding() - Method in annotation type it.tidalwave.dci.annotation.DciContext
-
If this attribute is true, all the methods of the annotated class will be executed with their instance as a context.
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.
- binder(Object...) - Method in interface it.tidalwave.util.ContextManager
-
Creates a binder that makes it possible to bind a local context by means of a try-with-resources instead of a try/finally.
- 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
-
Deprecated.Use
HierarchicFinderSupport.clonedWith(Object)
instead. - clonedWith(Object) - Method in class it.tidalwave.util.spi.HierarchicFinderSupport
-
Create a clone of this object calling the special copy constructor by reflection.
- close() - Method in class it.tidalwave.util.ContextManager.Binder
- 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>, T) - Static method in class it.tidalwave.util.CollectionUtils
-
Appends a list to an object.
- concatAll(Collection<? extends T>...) - Static method in class it.tidalwave.util.CollectionUtils
-
Returns a concatenation of the given
Collection
s. - ConcurrentHashMapWithOptionals<K,V> - Class in it.tidalwave.util
-
A specialisation of
ConcurrentHashMap
withOptional
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.
- context() - Method in annotation type it.tidalwave.dci.annotation.DciRole
-
The context type to which this role is restricted.
- ContextManager - Interface in it.tidalwave.util
-
A facility to register and unregister global and local DCI contexts.
- ContextManager.Binder - Class in it.tidalwave.util
-
Used by
- ContextManager.Inner - Class in it.tidalwave.util
-
A locator for the
ContextManager
which uses theServiceLoader
facility to be independent of any DI framework. - ContextManager.RunnableWithException<E extends java.lang.Throwable> - Interface in it.tidalwave.util
- ContextManager.SupplierWithException<T,E extends java.lang.Throwable> - Interface in it.tidalwave.util
- ContextManagerProvider - Interface in it.tidalwave.role.spi
- 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.
- createRoleFactory(Object) - Method in interface it.tidalwave.role.spi.OwnerRoleFactoryProvider
-
Creates an
OwnerRoleFactory
for the given object - 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
- datumType() - Method in annotation type it.tidalwave.dci.annotation.DciRole
-
The datum type to which this role can be associated.
- DciContext - Annotation Type in it.tidalwave.dci.annotation
-
An annotation for DCI Contexts.
- DciRole - Annotation Type in it.tidalwave.dci.annotation
-
Designates a DCI role implementation for a given owner object.
- DciRole.NoContext - Class in it.tidalwave.dci.annotation
- 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
- DefaultProvider - Annotation Type in it.tidalwave.role.spi.annotation
-
Demarcates a provider as a default implementation, so it can be eventually overridden.
- 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 variable in interface it.tidalwave.util.Callback
- 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
Finder
s, 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(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
- findContextOfType(Class<T>) - Method in interface it.tidalwave.util.ContextManager
-
Finds a current context instance of the given type.
- findContextTypeForRole(Class<?>) - Method in class it.tidalwave.role.spi.SystemRoleFactorySupport
-
Returns the type of the context associated to the given role implementation type.
- findDatumTypesForRole(Class<?>) - Method in class it.tidalwave.role.spi.SystemRoleFactorySupport
-
Returns the valid datum types for the given role implementation type.
- 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 aMap
. - 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
- findRoles(Class<? extends T>) - Method in interface it.tidalwave.role.spi.OwnerRoleFactory
-
Returns all role instances of the given type.
- findRoles(Object, Class<? extends T>) - Method in interface it.tidalwave.role.spi.SystemRoleFactory
-
Retrieves the roles of the given class for the given owner object.
- findRoles(Object, Class<? extends T>) - Method in class it.tidalwave.role.spi.SystemRoleFactorySupport
-
Retrieves the roles of the given class for the given owner object.
- firstResult - Variable in class it.tidalwave.util.spi.HierarchicFinderSupport
- firstResult() - Method in interface it.tidalwave.util.Finder
-
Deprecated.Use
Finder.optionalFirstResult()
instead - 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 ofAs
). - 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 aRuntimeException
. - FunctionalCheckedExceptionWrappers() - Constructor for class it.tidalwave.util.FunctionalCheckedExceptionWrappers
G
- get() - Method in interface it.tidalwave.util.ContextManager.SupplierWithException
- 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.Use
TypeSafeMap.getOptional(Key)
instead - get(Key<T>) - Method in interface it.tidalwave.util.TypeSafeMultiMap
-
Returns a value given its key.
- getAppFolder() - Method in interface it.tidalwave.util.PreferencesHandler
- getBean(Class<T>) - Method in class it.tidalwave.role.spi.SystemRoleFactorySupport
-
Retrieves an extra bean.
- getClass(Type) - Static method in class it.tidalwave.util.ReflectionUtils
- getContextManager() - Method in interface it.tidalwave.role.spi.ContextManagerProvider
- getContexts() - Method in interface it.tidalwave.util.ContextManager
-
Returns the list of current contexts, ordered by their priority.
- getDateTimeFormatterFor(FormatStyle, Locale) - Static method in class it.tidalwave.util.LocalizedDateTimeFormatters
-
Returns a formatter.
- getInstance() - Static method in interface it.tidalwave.role.spi.OwnerRoleFactoryProvider
-
Returns the singleton instance of
OwnerRoleFactoryProvider
- getInstance() - Static method in interface it.tidalwave.role.spi.SystemRoleFactory
- getInstance() - Static method in interface it.tidalwave.util.ContextManager
- getInstance() - Static method in interface it.tidalwave.util.PreferencesHandler
- getInstance() - Static method in interface it.tidalwave.util.TimeProvider
-
Returns the default instance.
- getKeys() - Method in interface it.tidalwave.util.TypeSafeMap
-
Deprecated.Use
TypeSafeMap.keySet()
instead. - getKeys() - Method in interface it.tidalwave.util.TypeSafeMultiMap
-
Deprecated.Use
TypeSafeMultiMap.keySet()
instead. - getListener() - Method in interface it.tidalwave.util.ProcessExecutor.ConsoleOutput
-
Returns the set listener
- getLogFolder() - Method in interface it.tidalwave.util.PreferencesHandler
- 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.
- getProperty(Key<T>) - Method in interface it.tidalwave.util.PreferencesHandler
-
Gets a property.
- getSize() - Method in interface it.tidalwave.util.TypeSafeMap
-
Deprecated.Use
TypeSafeMap.size()
instead. - getSize() - Method in interface it.tidalwave.util.TypeSafeMultiMap
-
Deprecated.Use
TypeSafeMultiMap.size()
instead. - 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.
- getSystemRoleFactory() - Method in interface it.tidalwave.role.spi.SystemRoleFactoryProvider
- 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
- indexedPairStream(int, int, IntFunction<? extends T>, IntUnaryOperator) - Static method in class it.tidalwave.util.Pair
- indexedPairStream(int, int, IntFunction<? extends T>, IntUnaryOperator, IntFunction<? extends I>) - Static method in class it.tidalwave.util.Pair
- indexedPairStream(Iterable<? extends T>) - Static method in class it.tidalwave.util.Pair
- indexedPairStream(Iterable<? extends T>, IntFunction<? extends I>) - Static method in class it.tidalwave.util.Pair
- indexedPairStream(Iterable<? extends T>, IntUnaryOperator) - Static method in class it.tidalwave.util.Pair
- indexedPairStream(Iterable<? extends T>, IntUnaryOperator, IntFunction<? extends I>) - Static method in class it.tidalwave.util.Pair
- indexedPairStream(Stream<? extends T>) - Static method in class it.tidalwave.util.Pair
- indexedPairStream(Stream<? extends T>, IntFunction<? extends I>) - Static method in class it.tidalwave.util.Pair
- indexedPairStream(Stream<? extends T>, IntUnaryOperator) - Static method in class it.tidalwave.util.Pair
- indexedPairStream(Stream<? extends T>, IntUnaryOperator, IntFunction<? extends I>) - Static method in class it.tidalwave.util.Pair
- indexedPairStream(T[]) - Static method in class it.tidalwave.util.Pair
- indexedPairStream(T[], IntFunction<? extends I>) - Static method in class it.tidalwave.util.Pair
- indexedPairStream(T[], IntUnaryOperator) - Static method in class it.tidalwave.util.Pair
- indexedPairStream(T[], IntUnaryOperator, IntFunction<? extends I>) - Static method in class it.tidalwave.util.Pair
- 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
- injectDependencies(Object, Map<Class<?>, Object>) - Static method in class it.tidalwave.util.ReflectionUtils
- Inner() - Constructor for class it.tidalwave.role.spi.OwnerRoleFactoryProvider.Inner
- Inner() - Constructor for class it.tidalwave.role.spi.SystemRoleFactory.Inner
- Inner() - Constructor for class it.tidalwave.util.ContextManager.Inner
- Inner() - Constructor for class it.tidalwave.util.PreferencesHandler.Inner
- instantiateWithDependencies(Class<? extends T>, Map<Class<?>, Object>) - Static method in class it.tidalwave.util.ReflectionUtils
-
Instantiates an object of the given class performing dependency injections through the constructor.
- intValue() - Method in enum it.tidalwave.util.Finder.SortDirection
- it.tidalwave.dci.annotation - package it.tidalwave.dci.annotation
- it.tidalwave.role.spi - package it.tidalwave.role.spi
- it.tidalwave.role.spi.annotation - package it.tidalwave.role.spi.annotation
- 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.
- KEY_FULL_SCREEN - Static variable in interface it.tidalwave.util.PreferencesHandler
-
Whether the application should start at full screen.
- KEY_INITIAL_SIZE - Static variable in interface it.tidalwave.util.PreferencesHandler
-
A property representing the initial main window size as a percentual of the screen size.
- 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
DateTimeFormatter
s in various flavours, specified by theFormatStyle
. - LocalizedDateTimeFormatters() - Constructor for class it.tidalwave.util.LocalizedDateTimeFormatters
- 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.
- logRoles() - Method in class it.tidalwave.role.spi.SystemRoleFactorySupport
M
- mapping(Finder<V>, Function<? super V, ? extends U>) - Static method in interface it.tidalwave.util.Finder
-
Returns a mapping
Finder
on a given delegateFinder
. - 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.
- NoContext() - Constructor for class it.tidalwave.dci.annotation.DciRole.NoContext
- 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 aPair
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 aComparator
. - of(Comparator<? super U>, String) - Static method in interface it.tidalwave.util.Finder.InMemorySortCriterion
-
Creates a new in-memory
SortCriterion
based on aComparator
. - ofCallable(Callable<? extends T>) - Static method in class it.tidalwave.util.Task
-
Creates a
Task
from aCallable
. - ofCallback(Callback) - Static method in class it.tidalwave.util.Task
-
Creates a
Task
from aCallback
. - 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 aRunnable
. - 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.
- OwnerRoleFactory - Interface in it.tidalwave.role.spi
-
A provider of roles for a given owner.
- OwnerRoleFactoryProvider - Interface in it.tidalwave.role.spi
-
The provider of the singleton
OwnerRoleFactory
. - OwnerRoleFactoryProvider.Inner - Class in it.tidalwave.role.spi
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
ofPair
s 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
ofPair
s 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 aMap
whose key is fielda
and value fieldb
. - pairStream(T, Stream<? extends U>) - Static method in class it.tidalwave.util.Pair
-
Creates a
Stream
ofPair
s composed of a given fixed value and another element taken from anotherStream
. - 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
- PreferencesHandler - Interface in it.tidalwave.util
- PreferencesHandler.Inner - Class in it.tidalwave.util
- 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.
- PROP_APP_NAME - Static variable in interface it.tidalwave.util.PreferencesHandler
- 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
-
Adapted from this article
- ReflectionUtils() - Constructor for class it.tidalwave.util.ReflectionUtils
- removeGlobalContext(Object) - Method in interface it.tidalwave.util.ContextManager
-
Removes a global context.
- removeLocalContext(Object) - Method in interface it.tidalwave.util.ContextManager
-
Removes a local context.
- reset() - Static method in interface it.tidalwave.role.spi.SystemRoleFactory
-
Removes a previously installed
SystemRoleFactory
. - reset() - Static method in interface it.tidalwave.util.ContextManager
-
This method is for testing only. Resets the global
ContextManagerProvider
; it must be called at the test completion wheneverContextManager.set(ContextManagerProvider)
has been called, to avoid polluting the context of further tests. - result() - Method in interface it.tidalwave.util.Finder
-
Deprecated.Use
Finder.optionalResult()
instead - 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 interface it.tidalwave.util.ContextManager.RunnableWithException
- run() - Method in class it.tidalwave.util.Task
-
The method that must contain the body of the
Task
. - runEWithContexts(ContextManager.RunnableWithException<E>, Object...) - Method in interface it.tidalwave.util.ContextManager
-
Calls a runnable with some local contexts.
- runEWithContexts(ContextManager.SupplierWithException<T, E>, Object...) - Method in interface it.tidalwave.util.ContextManager
-
Calls a task with some local contexts.
- runWithContext(Object, Task<V, T>) - Method in interface it.tidalwave.util.ContextManager
- runWithContext(Object, Supplier<V>) - Method in interface it.tidalwave.util.ContextManager
- runWithContexts(Runnable, Object...) - Method in interface it.tidalwave.util.ContextManager
-
Calls a runnable with some local contexts.
- runWithContexts(Supplier<T>, Object...) - Method in interface it.tidalwave.util.ContextManager
-
Calls a supplier with some local contexts.
- runWithContexts(List<Object>, Task<V, T>) - Method in interface it.tidalwave.util.ContextManager
- runWithContexts(List<Object>, Supplier<V>) - Method in interface it.tidalwave.util.ContextManager
S
- safeSubList(List<? extends T>, int, int) - Static method in class it.tidalwave.util.CollectionUtils
-
Return a sublist of the original
List
, from the givenfrom
andto
index (not included). - scan(Collection<Class<?>>) - Method in class it.tidalwave.role.spi.SystemRoleFactorySupport
-
Scans all the given role implementation classes and build a map of roles by owner class.
- 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(ContextManagerProvider) - Static method in interface it.tidalwave.util.ContextManager
-
This method is for testing only. Sets the global
ContextManagerProvider
. - set(SystemRoleFactory) - Static method in interface it.tidalwave.role.spi.SystemRoleFactory
-
Installs a
SystemRoleFactory
. - set(T) - Method in class it.tidalwave.util.LazySupplier
- setAppName(String) - Static method in interface it.tidalwave.util.PreferencesHandler
-
Sets the application name.
- setDefaultProperty(Key<T>, T) - Method in interface it.tidalwave.util.PreferencesHandler
-
Sets a property, unless it has been already set.
- setListener(ProcessExecutor.ConsoleOutput.Listener) - Method in interface it.tidalwave.util.ProcessExecutor.ConsoleOutput
-
Sets a listener.
- setProperty(Key<T>, T) - Method in interface it.tidalwave.util.PreferencesHandler
-
Sets a property, overriding the current value.
- shortId(Object) - Static method in class it.tidalwave.util.ShortNames
-
Return the short name for an object.
- shortIds(Iterable<?>) - Static method in class it.tidalwave.util.ShortNames
-
Return the short names for some objects.
- shortIds(Object...) - Static method in class it.tidalwave.util.ShortNames
-
Return the short names for some objects.
- shortName(Class<?>) - Static method in class it.tidalwave.util.ShortNames
-
Returns the short name for a class literal.
- shortName(Class<?>, boolean) - Static method in class it.tidalwave.util.ShortNames
-
Returns the short name for a class literal, eventually adding interface names (but not those in the java.* package).
- shortNames(Iterable<Class<?>>) - Static method in class it.tidalwave.util.ShortNames
-
Returns the short name for class literals, eventually adding interface names (but not those in the java.* package).
- ShortNames - Class in it.tidalwave.util
-
A utility that returns short qualified names for class literals and objects.
- ShortNames() - Constructor for class it.tidalwave.util.ShortNames
- 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
- 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
. - split(List<? extends T>, int...) - Static method in class it.tidalwave.util.CollectionUtils
-
Splits a given
List
at a set of boundaries. - 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
- StreamUtils - Class in it.tidalwave.util
-
A collection of operations on
Stream
s. - StreamUtils() - Constructor for class it.tidalwave.util.StreamUtils
- 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
- SystemRoleFactory - Interface in it.tidalwave.role.spi
-
A service which retrieves DCI Roles for a given object.
- SystemRoleFactory.Inner - Class in it.tidalwave.role.spi
- SystemRoleFactoryProvider - Interface in it.tidalwave.role.spi
- SystemRoleFactorySupport - Class in it.tidalwave.role.spi
-
A basic implementation of a
SystemRoleFactory
. - SystemRoleFactorySupport() - Constructor for class it.tidalwave.role.spi.SystemRoleFactorySupport
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 isnull
or empty. - throwWhenEmpty(T, String, Object...) - Static method in exception it.tidalwave.util.NotFoundException
-
Throws the
NotFoundException
when the passed collection isnull
or empty. - throwWhenNull(T, String) - Static method in exception it.tidalwave.util.NotFoundException
-
Throws the
NotFoundException
when the passed object isnull
. - throwWhenNull(T, String, Object...) - Static method in exception it.tidalwave.util.NotFoundException
-
Throws the
NotFoundException
when the passed object isnull
. - 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
ofTriple
s composed of a given fixedPair
and an integer in the given range. - tripleRangeClosed(Pair<T, U>, int, int) - Static method in class it.tidalwave.util.Triple
-
Creates a
Stream
ofTriple
s composed of a given fixedPair
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
ofTriple
s composed of a givenPair
and another element taken fromStream
. - 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.Pair
-
Zips two streams into a stream of
Pair
s. - zip(Stream<? extends A>, Stream<? extends B>, BiFunction<? super A, ? super B, ? extends R>) - Static method in class it.tidalwave.util.StreamUtils
-
Zips two streams.
_
- __BASE_NAME - Static variable in interface it.tidalwave.util.PreferencesHandler
- __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 intoRuntimeException
s. - _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 intoRuntimeException
s. - _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 intoRuntimeException
s. - _r(FunctionalCheckedExceptionWrappers.RunnableWithException) - Static method in class it.tidalwave.util.FunctionalCheckedExceptionWrappers
-
A wrapper for an equivalent of
Runnable
that catches exceptions and wraps them intoRuntimeException
s. - _s(FunctionalCheckedExceptionWrappers.SupplierWithException<? extends T>) - Static method in class it.tidalwave.util.FunctionalCheckedExceptionWrappers
-
A wrapper for a
Supplier
that catches exceptions and wraps them intoRuntimeException
s. - _SortCriterion_ - Static variable in interface it.tidalwave.util.Finder.SortCriterion
All Classes All Packages