Uses of Interface
com.google.mu.function.CheckedConsumer
Packages that use CheckedConsumer
Package
Description
Some extra functional interfaces
StringFormat, Substring, Optionals and more...
BiStream, BiCollector, MoreStreams, MoreCollectors etc.
-
Uses of CheckedConsumer in com.google.mu.function
Methods in com.google.mu.function that return CheckedConsumerModifier and TypeMethodDescriptiondefault CheckedConsumer
<T, E> CheckedConsumer.andThen
(CheckedConsumer<? super T, E> that) Returns a newCheckedConsumer
that also passes the input tothat
.Methods in com.google.mu.function with parameters of type CheckedConsumerModifier and TypeMethodDescriptiondefault CheckedConsumer
<T, E> CheckedConsumer.andThen
(CheckedConsumer<? super T, E> that) Returns a newCheckedConsumer
that also passes the input tothat
. -
Uses of CheckedConsumer in com.google.mu.util
Methods in com.google.mu.util with parameters of type CheckedConsumerModifier and TypeMethodDescriptionOptionals.ifPresent
(Optional<T> optional, CheckedConsumer<? super T, E> consumer) Invokesconsumer
ifoptional
is present. -
Uses of CheckedConsumer in com.google.mu.util.stream
Methods in com.google.mu.util.stream with parameters of type CheckedConsumerModifier and TypeMethodDescriptionstatic <T, E extends Throwable>
voidMoreStreams.iterateThrough
(Stream<? extends T> stream, CheckedConsumer<? super T, E> consumer) Iterates throughstream
sequentially and passes each element toconsumer
with exceptions propagated.