Uses of Interface
org.eclipse.collections.impl.block.function.checked.ThrowingFunction0
-
Packages that use ThrowingFunction0 Package Description org.eclipse.collections.impl.block.factory This package contains factory implementations forFunction
,Predicate
,SerializableComparator
andProcedure
.org.eclipse.collections.impl.block.function.checked -
-
Uses of ThrowingFunction0 in org.eclipse.collections.impl.block.factory
Classes in org.eclipse.collections.impl.block.factory that implement ThrowingFunction0 Modifier and Type Class Description private static class
Functions0.ThrowingFunction0Adapter<T>
Fields in org.eclipse.collections.impl.block.factory declared as ThrowingFunction0 Modifier and Type Field Description private ThrowingFunction0<T>
Functions0.ThrowingFunction0Adapter. throwingFunction0
Methods in org.eclipse.collections.impl.block.factory with parameters of type ThrowingFunction0 Modifier and Type Method Description static <T> Function0<T>
Functions0. throwing(ThrowingFunction0<T> throwingFunction0)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Function that will throw a RuntimeException, wrapping the checked exception that is the cause.static <T> Function0<T>
Functions0. throwing(ThrowingFunction0<T> throwingFunction0, Function<? super java.lang.Throwable,? extends java.lang.RuntimeException> rethrow)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Function0 that will throw a user specified RuntimeException based on the provided function.Constructors in org.eclipse.collections.impl.block.factory with parameters of type ThrowingFunction0 Constructor Description ThrowingFunction0Adapter(ThrowingFunction0<T> throwingFunction0)
-
Uses of ThrowingFunction0 in org.eclipse.collections.impl.block.function.checked
Classes in org.eclipse.collections.impl.block.function.checked that implement ThrowingFunction0 Modifier and Type Class Description class
CheckedFunction0<R>
-