CheckedConsumer.accept(Object)
catching any checked
Exception
s rethrowing as unchecked.CheckedConsumer.accept(Object)
catching any checked
Exception
s rethrowing as unchecked.CheckedIntConsumer.accept(int)
catching any checked
Exception
s rethrowing as unchecked.CheckedFunction.apply(Object)
catching any checked
Exception
s rethrowing as unchecked.CheckedFunction.apply(Object)
catching any checked
Exception
s rethrowing as unchecked.applyAsDouble(Object)
catching any checked
Exception
s rethrowing as unchecked.CheckedFunction.apply(Object)
catching any checked
Exception
s rethrowing as unchecked.CheckedToIntFunction.applyAsInt(Object)
catching any checked
Exception
s rethrowing as unchecked.CheckedToLongFunction.applyAsLong(Object)
catching any checked
Exception
s rethrowing as unchecked.Callable.call()
catching any checked
Exception
s rethrowing as unchecked.BiConsumer
BiFunction
BinaryOperator
Comparator
, also extends CheckedToIntBiFunction
Consumer
Function
IntFunction
Predicate
Runnable
Essentially Runnable
that has the declared propensity to throw
For the equivalent of Callable
, see CheckedSupplier
Supplier
ToDoubleFunction
int
returnToIntFunction
ToLongFunction
closeable
before closing.closeable
and instance
before closing.create
function to t
, resulting in a AutoCloseable
which is closed after
being consumed.AutoCloseable
s that throw checked Exception
s.EmeticStream
provides a functional parallel to Stream
, with methods taking checked equivalents of
java.util.function
Iterable.forEach(Consumer)
method having unchecked the consumerMap.forEach(BiConsumer)
method having unchecked the bi-consumerSupplier.get()
CheckedSupplier.get()
catching any checked
Exception
s rethrowing as unchecked.InterruptedException
clears the interrupt flag,
this merely resets the flag IFF the thrown
parameter is
an instance of InterruptedException
.Error
s or RuntimeException
s, wraps
checked exceptions appropriatelyThread.UncaughtExceptionHandler
that simply rethrows,
wrapping in an appropriate unchecked if necessaryRunnable.run()
CheckedRunnable.run()
catching any checked
Exception
s rethrowing them as unchecked.Error
- otherwise will dutifully and silently swallow whole.Thread.UncaughtExceptionHandler
that simply swallows all exceptions,
except subclasses of Error
, which are rethrown.CheckedPredicate.test(Object)
catching any checked
Exception
s rethrowing as unchecked.Throwable
s to RuntimeException
s.CheckedBiConsumer
into a BiConsumer
.CheckedBiFunction
into a BiFunction
.CheckedBinaryOperator
into a BinaryOperator
.CheckedComparator
into an unchecked Comparator
.CheckedConsumer
to Consumer
InterruptedException
.UncheckedException(Throwable)
ReflectiveOperationException
GeneralSecurityException
URISyntaxException
CheckedFunction
into a Function
.CheckedIntConsumer
to IntConsumer
CheckedPredicate
into a Predicate
.CheckedRunnable
into a Runnable
CheckedSupplier
into an unchecked Supplier
.CheckedToDoubleFunction
into a ToDoubleFunction
.CheckedToIntBiFunction
into an unchecked ToIntBiFunction
.CheckedToIntFunction
into a ToIntFunction
.CheckedToLongFunction
into a ToLongFunction
.URL.toURI()
, catching any URISyntaxException
and rethrowing
wrapped as UncheckedUriSyntaxException
Copyright © 2016–2018 earcam. All rights reserved.