See: Description
| Interface | Description |
|---|---|
| HasName |
This interface represents any object that has a name associated with it.
|
| NamedConsumer<T> |
The NamedConsumer interface extends both HasName and Consumer interfaces,
thus providing a Consumer with an associated name.
|
| ThrowingConsumer<T,X extends Exception> |
Represents an operation that accepts a single input argument and returns no
result and that can throw an exception of type
X. |
| Exception | Description |
|---|---|
| ThrowingConsumerException |
ThrowingConsumerException is a specialized
RuntimeException used to wrap exceptions
thrown by a ThrowingConsumer. |
The main components include:
TriConsumer - A three-arity specialization of Consumer.ThrowingConsumer - A version of Consumer that allows checked exceptions.ThrowingConsumerException - An exception used to wrap checked exceptions in ThrowingConsumer.NamedConsumer - An interface extending Consumer that has a name.This package aims to provide more flexible and expressive ways to perform operations on data, especially in scenarios where more complex error handling or multi-argument processing is needed.
Copyright © 2023. All rights reserved.