A C E F G H I L O P R S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(double) - Method in interface com.machinezoo.noexception.throwing.ThrowingDoubleConsumer
-
Variation of
DoubleConsumer.accept(double)
that allows throwing checked exceptions. - accept(int) - Method in interface com.machinezoo.noexception.throwing.ThrowingIntConsumer
-
Variation of
IntConsumer.accept(int)
that allows throwing checked exceptions. - accept(long) - Method in interface com.machinezoo.noexception.throwing.ThrowingLongConsumer
-
Variation of
LongConsumer.accept(long)
that allows throwing checked exceptions. - accept(T) - Method in interface com.machinezoo.noexception.throwing.ThrowingConsumer
-
Variation of
Consumer.accept(Object)
that allows throwing checked exceptions. - accept(T, double) - Method in interface com.machinezoo.noexception.throwing.ThrowingObjDoubleConsumer
-
Variation of
ObjDoubleConsumer.accept(Object, double)
that allows throwing checked exceptions. - accept(T, int) - Method in interface com.machinezoo.noexception.throwing.ThrowingObjIntConsumer
-
Variation of
ObjIntConsumer.accept(Object, int)
that allows throwing checked exceptions. - accept(T, long) - Method in interface com.machinezoo.noexception.throwing.ThrowingObjLongConsumer
-
Variation of
ObjLongConsumer.accept(Object, long)
that allows throwing checked exceptions. - accept(T, U) - Method in interface com.machinezoo.noexception.throwing.ThrowingBiConsumer
-
Variation of
BiConsumer.accept(Object, Object)
that allows throwing checked exceptions. - andFinally(Runnable) - Method in interface com.machinezoo.noexception.CloseableScope
-
Deprecated.Creates extended
CloseableScope
that additionally runs specifiedaction
regardless of exceptions. - andThen(Runnable) - Method in interface com.machinezoo.noexception.CloseableScope
-
Deprecated.Creates extended
CloseableScope
that additionally runs specifiedaction
unless exception is thrown. - apply(double) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleFunction
-
Variation of
DoubleFunction.apply(double)
that returnsOptional
. - apply(double) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleToIntFunction
-
Variation of
DoubleToIntFunction.applyAsInt(double)
that returnsOptionalInt
. - apply(double) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleToLongFunction
-
Variation of
DoubleToLongFunction.applyAsLong(double)
that returnsOptionalLong
. - apply(double) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleUnaryOperator
-
Variation of
DoubleUnaryOperator.applyAsDouble(double)
that returnsOptionalDouble
. - apply(double) - Method in interface com.machinezoo.noexception.throwing.ThrowingDoubleFunction
-
Variation of
DoubleFunction.apply(double)
that allows throwing checked exceptions. - apply(double, double) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleBinaryOperator
-
Variation of
DoubleBinaryOperator.applyAsDouble(double, double)
that returnsOptionalDouble
. - apply(int) - Method in interface com.machinezoo.noexception.optional.OptionalIntFunction
-
Variation of
IntFunction.apply(int)
that returnsOptional
. - apply(int) - Method in interface com.machinezoo.noexception.optional.OptionalIntToDoubleFunction
-
Variation of
IntToDoubleFunction.applyAsDouble(int)
that returnsOptionalDouble
. - apply(int) - Method in interface com.machinezoo.noexception.optional.OptionalIntToLongFunction
-
Variation of
IntToLongFunction.applyAsLong(int)
that returnsOptionalLong
. - apply(int) - Method in interface com.machinezoo.noexception.optional.OptionalIntUnaryOperator
-
Variation of
IntUnaryOperator.applyAsInt(int)
that returnsOptionalInt
. - apply(int) - Method in interface com.machinezoo.noexception.throwing.ThrowingIntFunction
-
Variation of
IntFunction.apply(int)
that allows throwing checked exceptions. - apply(int, int) - Method in interface com.machinezoo.noexception.optional.OptionalIntBinaryOperator
-
Variation of
IntBinaryOperator.applyAsInt(int, int)
that returnsOptionalInt
. - apply(long) - Method in interface com.machinezoo.noexception.optional.OptionalLongFunction
-
Variation of
LongFunction.apply(long)
that returnsOptional
. - apply(long) - Method in interface com.machinezoo.noexception.optional.OptionalLongToDoubleFunction
-
Variation of
LongToDoubleFunction.applyAsDouble(long)
that returnsOptionalDouble
. - apply(long) - Method in interface com.machinezoo.noexception.optional.OptionalLongToIntFunction
-
Variation of
LongToIntFunction.applyAsInt(long)
that returnsOptionalInt
. - apply(long) - Method in interface com.machinezoo.noexception.optional.OptionalLongUnaryOperator
-
Variation of
LongUnaryOperator.applyAsLong(long)
that returnsOptionalLong
. - apply(long) - Method in interface com.machinezoo.noexception.throwing.ThrowingLongFunction
-
Variation of
LongFunction.apply(long)
that allows throwing checked exceptions. - apply(long, long) - Method in interface com.machinezoo.noexception.optional.OptionalLongBinaryOperator
-
Variation of
LongBinaryOperator.applyAsLong(long, long)
that returnsOptionalLong
. - apply(T) - Method in interface com.machinezoo.noexception.optional.OptionalFunction
-
Variation of
Function.apply(Object)
that returnsOptional
. - apply(T) - Method in interface com.machinezoo.noexception.optional.OptionalToDoubleFunction
-
Variation of
ToDoubleFunction.applyAsDouble(Object)
that returnsOptionalDouble
. - apply(T) - Method in interface com.machinezoo.noexception.optional.OptionalToIntFunction
-
Variation of
ToIntFunction.applyAsInt(Object)
that returnsOptionalInt
. - apply(T) - Method in interface com.machinezoo.noexception.optional.OptionalToLongFunction
-
Variation of
ToLongFunction.applyAsLong(Object)
that returnsOptionalLong
. - apply(T) - Method in interface com.machinezoo.noexception.optional.OptionalUnaryOperator
-
Variation of
Function.apply(Object)
that returnsOptional
. - apply(T) - Method in interface com.machinezoo.noexception.throwing.ThrowingFunction
-
Variation of
Function.apply(Object)
that allows throwing checked exceptions. - apply(T, T) - Method in interface com.machinezoo.noexception.optional.OptionalBinaryOperator
-
Variation of
BiFunction.apply(Object, Object)
that returnsOptional
. - apply(T, U) - Method in interface com.machinezoo.noexception.optional.OptionalBiFunction
-
Variation of
BiFunction.apply(Object, Object)
that returnsOptional
. - apply(T, U) - Method in interface com.machinezoo.noexception.optional.OptionalToDoubleBiFunction
-
Variation of
ToDoubleBiFunction.applyAsDouble(Object, Object)
that returnsOptionalDouble
. - apply(T, U) - Method in interface com.machinezoo.noexception.optional.OptionalToIntBiFunction
-
Variation of
ToIntBiFunction.applyAsInt(Object, Object)
that returnsOptionalInt
. - apply(T, U) - Method in interface com.machinezoo.noexception.optional.OptionalToLongBiFunction
-
Variation of
ToLongBiFunction.applyAsLong(Object, Object)
that returnsOptionalLong
. - apply(T, U) - Method in interface com.machinezoo.noexception.throwing.ThrowingBiFunction
-
Variation of
BiFunction.apply(Object, Object)
that allows throwing checked exceptions. - applyAsDouble(double) - Method in interface com.machinezoo.noexception.throwing.ThrowingDoubleUnaryOperator
-
Variation of
DoubleUnaryOperator.applyAsDouble(double)
that allows throwing checked exceptions. - applyAsDouble(double, double) - Method in interface com.machinezoo.noexception.throwing.ThrowingDoubleBinaryOperator
-
Variation of
DoubleBinaryOperator.applyAsDouble(double, double)
that allows throwing checked exceptions. - applyAsDouble(int) - Method in interface com.machinezoo.noexception.throwing.ThrowingIntToDoubleFunction
-
Variation of
IntToDoubleFunction.applyAsDouble(int)
that allows throwing checked exceptions. - applyAsDouble(long) - Method in interface com.machinezoo.noexception.throwing.ThrowingLongToDoubleFunction
-
Variation of
LongToDoubleFunction.applyAsDouble(long)
that allows throwing checked exceptions. - applyAsDouble(T) - Method in interface com.machinezoo.noexception.throwing.ThrowingToDoubleFunction
-
Variation of
ToDoubleFunction.applyAsDouble(Object)
that allows throwing checked exceptions. - applyAsDouble(T, U) - Method in interface com.machinezoo.noexception.throwing.ThrowingToDoubleBiFunction
-
Variation of
ToDoubleBiFunction.applyAsDouble(Object, Object)
that allows throwing checked exceptions. - applyAsInt(double) - Method in interface com.machinezoo.noexception.throwing.ThrowingDoubleToIntFunction
-
Variation of
DoubleToIntFunction.applyAsInt(double)
that allows throwing checked exceptions. - applyAsInt(int) - Method in interface com.machinezoo.noexception.throwing.ThrowingIntUnaryOperator
-
Variation of
IntUnaryOperator.applyAsInt(int)
that allows throwing checked exceptions. - applyAsInt(int, int) - Method in interface com.machinezoo.noexception.throwing.ThrowingIntBinaryOperator
-
Variation of
IntBinaryOperator.applyAsInt(int, int)
that allows throwing checked exceptions. - applyAsInt(long) - Method in interface com.machinezoo.noexception.throwing.ThrowingLongToIntFunction
-
Variation of
LongToIntFunction.applyAsInt(long)
that allows throwing checked exceptions. - applyAsInt(T) - Method in interface com.machinezoo.noexception.throwing.ThrowingToIntFunction
-
Variation of
ToIntFunction.applyAsInt(Object)
that allows throwing checked exceptions. - applyAsInt(T, U) - Method in interface com.machinezoo.noexception.throwing.ThrowingToIntBiFunction
-
Variation of
ToIntBiFunction.applyAsInt(Object, Object)
that allows throwing checked exceptions. - applyAsLong(double) - Method in interface com.machinezoo.noexception.throwing.ThrowingDoubleToLongFunction
-
Variation of
DoubleToLongFunction.applyAsLong(double)
that allows throwing checked exceptions. - applyAsLong(int) - Method in interface com.machinezoo.noexception.throwing.ThrowingIntToLongFunction
-
Variation of
IntToLongFunction.applyAsLong(int)
that allows throwing checked exceptions. - applyAsLong(long) - Method in interface com.machinezoo.noexception.throwing.ThrowingLongUnaryOperator
-
Variation of
LongUnaryOperator.applyAsLong(long)
that allows throwing checked exceptions. - applyAsLong(long, long) - Method in interface com.machinezoo.noexception.throwing.ThrowingLongBinaryOperator
-
Variation of
LongBinaryOperator.applyAsLong(long, long)
that allows throwing checked exceptions. - applyAsLong(T) - Method in interface com.machinezoo.noexception.throwing.ThrowingToLongFunction
-
Variation of
ToLongFunction.applyAsLong(Object)
that allows throwing checked exceptions. - applyAsLong(T, U) - Method in interface com.machinezoo.noexception.throwing.ThrowingToLongBiFunction
-
Variation of
ToLongBiFunction.applyAsLong(Object, Object)
that allows throwing checked exceptions.
C
- CheckedExceptionHandler - Class in com.machinezoo.noexception
-
Represents downgrading policy for checked exceptions.
- CheckedExceptionHandler() - Constructor for class com.machinezoo.noexception.CheckedExceptionHandler
-
Initializes new
CheckedExceptionHandler
. - close() - Method in interface com.machinezoo.noexception.CloseableScope
-
Deprecated.Closes this scope or other closeable resource.
- closeable(CloseableScope) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
CloseableScope
. - closeable(CloseableScope) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
CloseableScope
in a try-catch block. - closeable(AutoCloseable) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
AutoCloseable
. - CloseableScope - Interface in com.machinezoo.noexception
-
Deprecated.Use
CloseableScope
from dedicated library instead. - com.machinezoo.noexception - module com.machinezoo.noexception
-
NoException library lets you handle exceptions in a concise, testable, and consistent manner.
- com.machinezoo.noexception - package com.machinezoo.noexception
-
Classes implementing all NoException features.
- com.machinezoo.noexception.optional - package com.machinezoo.noexception.optional
-
Variations of standard functional interfaces that return
Optional
instead of the raw value. - com.machinezoo.noexception.throwing - package com.machinezoo.noexception.throwing
-
Variations of standard functional interfaces that allow throwing checked exceptions.
- comparator(ThrowingComparator<T>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingComparator
. - comparator(Comparator<T>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
Comparator
. - comparator(Comparator<T>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
Comparator
in a try-catch block. - compare(T, T) - Method in interface com.machinezoo.noexception.optional.OptionalComparator
-
Variation of
Comparator.compare(Object, Object)
that returnsOptionalInt
. - compare(T, T) - Method in interface com.machinezoo.noexception.throwing.ThrowingComparator
-
Variation of
Comparator.compare(Object, Object)
that allows throwing checked exceptions. - consumer(ThrowingConsumer<T>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingConsumer
. - consumer(Consumer<T>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
Consumer
. - consumer(Consumer<T>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
Consumer
in a try-catch block.
E
- empty() - Static method in class com.machinezoo.noexception.optional.OptionalBoolean
-
Returns an empty
OptionalBoolean
instance. - equals(Object) - Method in class com.machinezoo.noexception.optional.OptionalBoolean
-
Indicates whether some other object is "equal to" this
OptionalBoolean
. - ExceptionFilter - Class in com.machinezoo.noexception
-
Represents exception handling policy that always ends with throwing another exception.
- ExceptionFilter() - Constructor for class com.machinezoo.noexception.ExceptionFilter
-
Initializes new
ExceptionFilter
. - ExceptionHandler - Class in com.machinezoo.noexception
-
Represents exception handling policy.
- ExceptionHandler() - Constructor for class com.machinezoo.noexception.ExceptionHandler
-
Initialize new
ExceptionHandler
. - Exceptions - Class in com.machinezoo.noexception
-
Static methods for creating predefined exception handlers.
F
- fromBiConsumer(ThrowingBiConsumer<T, U>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingBiConsumer
. - fromBiConsumer(BiConsumer<T, U>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
BiConsumer
. - fromBiConsumer(BiConsumer<T, U>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
BiConsumer
in a try-catch block. - fromBiFunction(ThrowingBiFunction<T, U, R>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingBiFunction
. - fromBiFunction(BiFunction<T, U, R>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
BiFunction
. - fromBiFunction(BiFunction<T, U, R>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
BiFunction
in a try-catch block. - fromBinaryOperator(ThrowingBinaryOperator<T>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingBinaryOperator
. - fromBinaryOperator(BinaryOperator<T>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
BinaryOperator
. - fromBinaryOperator(BinaryOperator<T>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
BinaryOperator
in a try-catch block. - fromBiPredicate(ThrowingBiPredicate<T, U>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingBiPredicate
. - fromBiPredicate(BiPredicate<T, U>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
BiPredicate
. - fromBiPredicate(BiPredicate<T, U>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
BiPredicate
in a try-catch block. - fromBooleanSupplier(ThrowingBooleanSupplier) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingBooleanSupplier
. - fromBooleanSupplier(BooleanSupplier) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
BooleanSupplier
. - fromBooleanSupplier(BooleanSupplier) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
BooleanSupplier
in a try-catch block. - fromDoubleBinaryOperator(ThrowingDoubleBinaryOperator) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingDoubleBinaryOperator
. - fromDoubleBinaryOperator(DoubleBinaryOperator) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
DoubleBinaryOperator
. - fromDoubleBinaryOperator(DoubleBinaryOperator) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
DoubleBinaryOperator
in a try-catch block. - fromDoubleConsumer(ThrowingDoubleConsumer) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingDoubleConsumer
. - fromDoubleConsumer(DoubleConsumer) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
DoubleConsumer
. - fromDoubleConsumer(DoubleConsumer) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
DoubleConsumer
in a try-catch block. - fromDoubleFunction(ThrowingDoubleFunction<R>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingDoubleFunction
. - fromDoubleFunction(DoubleFunction<R>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
DoubleFunction
. - fromDoubleFunction(DoubleFunction<R>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
DoubleFunction
in a try-catch block. - fromDoublePredicate(ThrowingDoublePredicate) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingDoublePredicate
. - fromDoublePredicate(DoublePredicate) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
DoublePredicate
. - fromDoublePredicate(DoublePredicate) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
DoublePredicate
in a try-catch block. - fromDoubleSupplier(ThrowingDoubleSupplier) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingDoubleSupplier
. - fromDoubleSupplier(DoubleSupplier) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
DoubleSupplier
. - fromDoubleSupplier(DoubleSupplier) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
DoubleSupplier
in a try-catch block. - fromDoubleToIntFunction(ThrowingDoubleToIntFunction) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingDoubleToIntFunction
. - fromDoubleToIntFunction(DoubleToIntFunction) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
DoubleToIntFunction
. - fromDoubleToIntFunction(DoubleToIntFunction) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
DoubleToIntFunction
in a try-catch block. - fromDoubleToLongFunction(ThrowingDoubleToLongFunction) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingDoubleToLongFunction
. - fromDoubleToLongFunction(DoubleToLongFunction) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
DoubleToLongFunction
. - fromDoubleToLongFunction(DoubleToLongFunction) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
DoubleToLongFunction
in a try-catch block. - fromDoubleUnaryOperator(ThrowingDoubleUnaryOperator) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingDoubleUnaryOperator
. - fromDoubleUnaryOperator(DoubleUnaryOperator) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
DoubleUnaryOperator
. - fromDoubleUnaryOperator(DoubleUnaryOperator) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
DoubleUnaryOperator
in a try-catch block. - fromIntBinaryOperator(ThrowingIntBinaryOperator) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingIntBinaryOperator
. - fromIntBinaryOperator(IntBinaryOperator) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
IntBinaryOperator
. - fromIntBinaryOperator(IntBinaryOperator) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
IntBinaryOperator
in a try-catch block. - fromIntConsumer(ThrowingIntConsumer) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingIntConsumer
. - fromIntConsumer(IntConsumer) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
IntConsumer
. - fromIntConsumer(IntConsumer) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
IntConsumer
in a try-catch block. - fromIntFunction(ThrowingIntFunction<R>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingIntFunction
. - fromIntFunction(IntFunction<R>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
IntFunction
. - fromIntFunction(IntFunction<R>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
IntFunction
in a try-catch block. - fromIntPredicate(ThrowingIntPredicate) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingIntPredicate
. - fromIntPredicate(IntPredicate) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
IntPredicate
. - fromIntPredicate(IntPredicate) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
IntPredicate
in a try-catch block. - fromIntSupplier(ThrowingIntSupplier) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingIntSupplier
. - fromIntSupplier(IntSupplier) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
IntSupplier
. - fromIntSupplier(IntSupplier) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
IntSupplier
in a try-catch block. - fromIntToDoubleFunction(ThrowingIntToDoubleFunction) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingIntToDoubleFunction
. - fromIntToDoubleFunction(IntToDoubleFunction) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
IntToDoubleFunction
. - fromIntToDoubleFunction(IntToDoubleFunction) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
IntToDoubleFunction
in a try-catch block. - fromIntToLongFunction(ThrowingIntToLongFunction) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingIntToLongFunction
. - fromIntToLongFunction(IntToLongFunction) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
IntToLongFunction
. - fromIntToLongFunction(IntToLongFunction) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
IntToLongFunction
in a try-catch block. - fromIntUnaryOperator(ThrowingIntUnaryOperator) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingIntUnaryOperator
. - fromIntUnaryOperator(IntUnaryOperator) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
IntUnaryOperator
. - fromIntUnaryOperator(IntUnaryOperator) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
IntUnaryOperator
in a try-catch block. - fromLongBinaryOperator(ThrowingLongBinaryOperator) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingLongBinaryOperator
. - fromLongBinaryOperator(LongBinaryOperator) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
LongBinaryOperator
. - fromLongBinaryOperator(LongBinaryOperator) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
LongBinaryOperator
in a try-catch block. - fromLongConsumer(ThrowingLongConsumer) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingLongConsumer
. - fromLongConsumer(LongConsumer) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
LongConsumer
. - fromLongConsumer(LongConsumer) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
LongConsumer
in a try-catch block. - fromLongFunction(ThrowingLongFunction<R>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingLongFunction
. - fromLongFunction(LongFunction<R>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
LongFunction
. - fromLongFunction(LongFunction<R>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
LongFunction
in a try-catch block. - fromLongPredicate(ThrowingLongPredicate) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingLongPredicate
. - fromLongPredicate(LongPredicate) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
LongPredicate
. - fromLongPredicate(LongPredicate) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
LongPredicate
in a try-catch block. - fromLongSupplier(ThrowingLongSupplier) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingLongSupplier
. - fromLongSupplier(LongSupplier) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
LongSupplier
. - fromLongSupplier(LongSupplier) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
LongSupplier
in a try-catch block. - fromLongToDoubleFunction(ThrowingLongToDoubleFunction) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingLongToDoubleFunction
. - fromLongToDoubleFunction(LongToDoubleFunction) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
LongToDoubleFunction
. - fromLongToDoubleFunction(LongToDoubleFunction) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
LongToDoubleFunction
in a try-catch block. - fromLongToIntFunction(ThrowingLongToIntFunction) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingLongToIntFunction
. - fromLongToIntFunction(LongToIntFunction) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
LongToIntFunction
. - fromLongToIntFunction(LongToIntFunction) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
LongToIntFunction
in a try-catch block. - fromLongUnaryOperator(ThrowingLongUnaryOperator) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingLongUnaryOperator
. - fromLongUnaryOperator(LongUnaryOperator) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
LongUnaryOperator
. - fromLongUnaryOperator(LongUnaryOperator) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
LongUnaryOperator
in a try-catch block. - fromObjDoubleConsumer(ThrowingObjDoubleConsumer<T>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingObjDoubleConsumer
. - fromObjDoubleConsumer(ObjDoubleConsumer<T>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
ObjDoubleConsumer
. - fromObjDoubleConsumer(ObjDoubleConsumer<T>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
ObjDoubleConsumer
in a try-catch block. - fromObjIntConsumer(ThrowingObjIntConsumer<T>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingObjIntConsumer
. - fromObjIntConsumer(ObjIntConsumer<T>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
ObjIntConsumer
. - fromObjIntConsumer(ObjIntConsumer<T>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
ObjIntConsumer
in a try-catch block. - fromObjLongConsumer(ThrowingObjLongConsumer<T>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingObjLongConsumer
. - fromObjLongConsumer(ObjLongConsumer<T>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
ObjLongConsumer
. - fromObjLongConsumer(ObjLongConsumer<T>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
ObjLongConsumer
in a try-catch block. - fromToDoubleBiFunction(ThrowingToDoubleBiFunction<T, U>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingToDoubleBiFunction
. - fromToDoubleBiFunction(ToDoubleBiFunction<T, U>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
ToDoubleBiFunction
. - fromToDoubleBiFunction(ToDoubleBiFunction<T, U>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
ToDoubleBiFunction
in a try-catch block. - fromToDoubleFunction(ThrowingToDoubleFunction<T>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingToDoubleFunction
. - fromToDoubleFunction(ToDoubleFunction<T>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
ToDoubleFunction
. - fromToDoubleFunction(ToDoubleFunction<T>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
ToDoubleFunction
in a try-catch block. - fromToIntBiFunction(ThrowingToIntBiFunction<T, U>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingToIntBiFunction
. - fromToIntBiFunction(ToIntBiFunction<T, U>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
ToIntBiFunction
. - fromToIntBiFunction(ToIntBiFunction<T, U>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
ToIntBiFunction
in a try-catch block. - fromToIntFunction(ThrowingToIntFunction<T>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingToIntFunction
. - fromToIntFunction(ToIntFunction<T>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
ToIntFunction
. - fromToIntFunction(ToIntFunction<T>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
ToIntFunction
in a try-catch block. - fromToLongBiFunction(ThrowingToLongBiFunction<T, U>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingToLongBiFunction
. - fromToLongBiFunction(ToLongBiFunction<T, U>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
ToLongBiFunction
. - fromToLongBiFunction(ToLongBiFunction<T, U>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
ToLongBiFunction
in a try-catch block. - fromToLongFunction(ThrowingToLongFunction<T>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingToLongFunction
. - fromToLongFunction(ToLongFunction<T>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
ToLongFunction
. - fromToLongFunction(ToLongFunction<T>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
ToLongFunction
in a try-catch block. - fromUnaryOperator(ThrowingUnaryOperator<T>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingUnaryOperator
. - fromUnaryOperator(UnaryOperator<T>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
UnaryOperator
. - fromUnaryOperator(UnaryOperator<T>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
UnaryOperator
in a try-catch block. - function(ThrowingFunction<T, R>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingFunction
. - function(Function<T, R>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
Function
. - function(Function<T, R>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
Function
in a try-catch block.
G
- get() - Method in interface com.machinezoo.noexception.optional.OptionalBooleanSupplier
-
Variation of
BooleanSupplier.getAsBoolean()
that returnsOptionalBoolean
. - get() - Method in interface com.machinezoo.noexception.optional.OptionalDoubleSupplier
-
Variation of
DoubleSupplier.getAsDouble()
that returnsOptionalDouble
. - get() - Method in interface com.machinezoo.noexception.optional.OptionalIntSupplier
-
Variation of
IntSupplier.getAsInt()
that returnsOptionalInt
. - get() - Method in interface com.machinezoo.noexception.optional.OptionalLongSupplier
-
Variation of
LongSupplier.getAsLong()
that returnsOptionalLong
. - get() - Method in interface com.machinezoo.noexception.optional.OptionalSupplier
-
Variation of
Supplier.get()
that returnsOptional
. - get() - Method in interface com.machinezoo.noexception.throwing.ThrowingSupplier
-
Variation of
Supplier.get()
that allows throwing checked exceptions. - get(ThrowingSupplier<T>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Filters out checked exceptions while running
ThrowingSupplier
. - get(Supplier<T>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Filters exceptions while running
Supplier
. - get(Supplier<T>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Runs
Supplier
in a try-catch block. - getAsBoolean() - Method in class com.machinezoo.noexception.optional.OptionalBoolean
-
If a value is present in this
OptionalBoolean
, returns the value, otherwise throwsNoSuchElementException
. - getAsBoolean() - Method in interface com.machinezoo.noexception.throwing.ThrowingBooleanSupplier
-
Variation of
BooleanSupplier.getAsBoolean()
that allows throwing checked exceptions. - getAsBoolean(ThrowingBooleanSupplier) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Filters out checked exceptions while running
ThrowingBooleanSupplier
. - getAsBoolean(BooleanSupplier) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Filters exceptions while running
BooleanSupplier
. - getAsBoolean(BooleanSupplier) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Runs
BooleanSupplier
in a try-catch block. - getAsDouble() - Method in interface com.machinezoo.noexception.throwing.ThrowingDoubleSupplier
-
Variation of
DoubleSupplier.getAsDouble()
that allows throwing checked exceptions. - getAsDouble(ThrowingDoubleSupplier) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Filters out checked exceptions while running
ThrowingDoubleSupplier
. - getAsDouble(DoubleSupplier) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Filters exceptions while running
DoubleSupplier
. - getAsDouble(DoubleSupplier) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Runs
DoubleSupplier
in a try-catch block. - getAsInt() - Method in interface com.machinezoo.noexception.throwing.ThrowingIntSupplier
-
Variation of
IntSupplier.getAsInt()
that allows throwing checked exceptions. - getAsInt(ThrowingIntSupplier) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Filters out checked exceptions while running
ThrowingIntSupplier
. - getAsInt(IntSupplier) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Filters exceptions while running
IntSupplier
. - getAsInt(IntSupplier) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Runs
IntSupplier
in a try-catch block. - getAsLong() - Method in interface com.machinezoo.noexception.throwing.ThrowingLongSupplier
-
Variation of
LongSupplier.getAsLong()
that allows throwing checked exceptions. - getAsLong(ThrowingLongSupplier) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Filters out checked exceptions while running
ThrowingLongSupplier
. - getAsLong(LongSupplier) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Filters exceptions while running
LongSupplier
. - getAsLong(LongSupplier) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Runs
LongSupplier
in a try-catch block.
H
- handle(Exception) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Converts checked exception into an unchecked one.
- handle(Throwable) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Handles exception in a generic way.
- handle(Throwable) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Handles exception in a generic way.
- hashCode() - Method in class com.machinezoo.noexception.optional.OptionalBoolean
-
Returns the hash code value of the present value, if any, or zero if no value is present.
I
- ifPresent(IntConsumer) - Method in class com.machinezoo.noexception.optional.OptionalBoolean
-
If a value is present, passes the value to the provided consumer, otherwise does nothing.
- ifPresentOrElse(IntConsumer, Runnable) - Method in class com.machinezoo.noexception.optional.OptionalBoolean
-
If a value is present, passes the value to the provided consumer, otherwise executes the provided action.
- ignore() - Static method in class com.machinezoo.noexception.Exceptions
-
Deprecated.Use
Exceptions.propagate()
instead. - isPresent() - Method in class com.machinezoo.noexception.optional.OptionalBoolean
-
Returns
true
if there is a value present, otherwisefalse
.
L
- log() - Static method in class com.machinezoo.noexception.Exceptions
-
Deprecated.Use SLF4J extension instead.
- log(Logger) - Static method in class com.machinezoo.noexception.Exceptions
-
Deprecated.Use SLF4J extension instead.
- log(Logger, String) - Static method in class com.machinezoo.noexception.Exceptions
-
Deprecated.Use SLF4J extension instead.
- log(Logger, Supplier<String>) - Static method in class com.machinezoo.noexception.Exceptions
-
Deprecated.Use SLF4J extension instead.
O
- of(boolean) - Static method in class com.machinezoo.noexception.optional.OptionalBoolean
-
Returns an
OptionalBoolean
with the specified value present. - OptionalBiFunction<T,U,R> - Interface in com.machinezoo.noexception.optional
-
Variation of
BiFunction
that returnsOptional
instead of the raw value. - OptionalBinaryOperator<T> - Interface in com.machinezoo.noexception.optional
-
Variation of
BinaryOperator
that returnsOptional
instead of the raw value. - OptionalBiPredicate<T,U> - Interface in com.machinezoo.noexception.optional
-
Variation of
BiPredicate
that returnsOptionalBoolean
instead of the raw value. - OptionalBoolean - Class in com.machinezoo.noexception.optional
-
A container object which may or may not contain a
boolean
value. - OptionalBooleanSupplier - Interface in com.machinezoo.noexception.optional
-
Variation of
BooleanSupplier
that returnsOptionalBoolean
instead of the raw value. - OptionalComparator<T> - Interface in com.machinezoo.noexception.optional
-
Variation of
Comparator
that returnsOptionalInt
instead of the raw value. - OptionalDoubleBinaryOperator - Interface in com.machinezoo.noexception.optional
-
Variation of
DoubleBinaryOperator
that returnsOptionalDouble
instead of the raw value. - OptionalDoubleFunction<R> - Interface in com.machinezoo.noexception.optional
-
Variation of
DoubleFunction
that returnsOptional
instead of the raw value. - OptionalDoublePredicate - Interface in com.machinezoo.noexception.optional
-
Variation of
DoublePredicate
that returnsOptionalBoolean
instead of the raw value. - OptionalDoubleSupplier - Interface in com.machinezoo.noexception.optional
-
Variation of
DoubleSupplier
that returnsOptionalDouble
instead of the raw value. - OptionalDoubleToIntFunction - Interface in com.machinezoo.noexception.optional
-
Variation of
DoubleToIntFunction
that returnsOptionalInt
instead of the raw value. - OptionalDoubleToLongFunction - Interface in com.machinezoo.noexception.optional
-
Variation of
DoubleToLongFunction
that returnsOptionalLong
instead of the raw value. - OptionalDoubleUnaryOperator - Interface in com.machinezoo.noexception.optional
-
Variation of
DoubleUnaryOperator
that returnsOptionalDouble
instead of the raw value. - OptionalFunction<T,R> - Interface in com.machinezoo.noexception.optional
- OptionalIntBinaryOperator - Interface in com.machinezoo.noexception.optional
-
Variation of
IntBinaryOperator
that returnsOptionalInt
instead of the raw value. - OptionalIntFunction<R> - Interface in com.machinezoo.noexception.optional
-
Variation of
IntFunction
that returnsOptional
instead of the raw value. - OptionalIntPredicate - Interface in com.machinezoo.noexception.optional
-
Variation of
IntPredicate
that returnsOptionalBoolean
instead of the raw value. - OptionalIntSupplier - Interface in com.machinezoo.noexception.optional
-
Variation of
IntSupplier
that returnsOptionalInt
instead of the raw value. - OptionalIntToDoubleFunction - Interface in com.machinezoo.noexception.optional
-
Variation of
IntToDoubleFunction
that returnsOptionalDouble
instead of the raw value. - OptionalIntToLongFunction - Interface in com.machinezoo.noexception.optional
-
Variation of
IntToLongFunction
that returnsOptionalLong
instead of the raw value. - OptionalIntUnaryOperator - Interface in com.machinezoo.noexception.optional
-
Variation of
IntUnaryOperator
that returnsOptionalInt
instead of the raw value. - OptionalLongBinaryOperator - Interface in com.machinezoo.noexception.optional
-
Variation of
LongBinaryOperator
that returnsOptionalLong
instead of the raw value. - OptionalLongFunction<R> - Interface in com.machinezoo.noexception.optional
-
Variation of
LongFunction
that returnsOptional
instead of the raw value. - OptionalLongPredicate - Interface in com.machinezoo.noexception.optional
-
Variation of
LongPredicate
that returnsOptionalBoolean
instead of the raw value. - OptionalLongSupplier - Interface in com.machinezoo.noexception.optional
-
Variation of
LongSupplier
that returnsOptionalLong
instead of the raw value. - OptionalLongToDoubleFunction - Interface in com.machinezoo.noexception.optional
-
Variation of
LongToDoubleFunction
that returnsOptionalDouble
instead of the raw value. - OptionalLongToIntFunction - Interface in com.machinezoo.noexception.optional
-
Variation of
LongToIntFunction
that returnsOptionalInt
instead of the raw value. - OptionalLongUnaryOperator - Interface in com.machinezoo.noexception.optional
-
Variation of
LongUnaryOperator
that returnsOptionalLong
instead of the raw value. - OptionalPredicate<T> - Interface in com.machinezoo.noexception.optional
-
Variation of
Predicate
that returnsOptionalBoolean
instead of the raw value. - OptionalSupplier<T> - Interface in com.machinezoo.noexception.optional
- OptionalToDoubleBiFunction<T,U> - Interface in com.machinezoo.noexception.optional
-
Variation of
ToDoubleBiFunction
that returnsOptionalDouble
instead of the raw value. - OptionalToDoubleFunction<T> - Interface in com.machinezoo.noexception.optional
-
Variation of
ToDoubleFunction
that returnsOptionalDouble
instead of the raw value. - OptionalToIntBiFunction<T,U> - Interface in com.machinezoo.noexception.optional
-
Variation of
ToIntBiFunction
that returnsOptionalInt
instead of the raw value. - OptionalToIntFunction<T> - Interface in com.machinezoo.noexception.optional
-
Variation of
ToIntFunction
that returnsOptionalInt
instead of the raw value. - OptionalToLongBiFunction<T,U> - Interface in com.machinezoo.noexception.optional
-
Variation of
ToLongBiFunction
that returnsOptionalLong
instead of the raw value. - OptionalToLongFunction<T> - Interface in com.machinezoo.noexception.optional
-
Variation of
ToLongFunction
that returnsOptionalLong
instead of the raw value. - OptionalUnaryOperator<T> - Interface in com.machinezoo.noexception.optional
-
Variation of
UnaryOperator
that returnsOptional
instead of the raw value. - orElse(boolean) - Method in interface com.machinezoo.noexception.optional.OptionalBiPredicate
-
Converts this
OptionalBiPredicate
to plainBiPredicate
using default value. - orElse(boolean) - Method in class com.machinezoo.noexception.optional.OptionalBoolean
-
Returns the value if present, otherwise returns
other
. - orElse(boolean) - Method in interface com.machinezoo.noexception.optional.OptionalBooleanSupplier
-
Converts this
OptionalBooleanSupplier
to plainBooleanSupplier
using default value. - orElse(boolean) - Method in interface com.machinezoo.noexception.optional.OptionalDoublePredicate
-
Converts this
OptionalDoublePredicate
to plainDoublePredicate
using default value. - orElse(boolean) - Method in interface com.machinezoo.noexception.optional.OptionalIntPredicate
-
Converts this
OptionalIntPredicate
to plainIntPredicate
using default value. - orElse(boolean) - Method in interface com.machinezoo.noexception.optional.OptionalLongPredicate
-
Converts this
OptionalLongPredicate
to plainLongPredicate
using default value. - orElse(boolean) - Method in interface com.machinezoo.noexception.optional.OptionalPredicate
-
Converts this
OptionalPredicate
to plainPredicate
using default value. - orElse(double) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleBinaryOperator
-
Converts this
OptionalDoubleBinaryOperator
to plainDoubleBinaryOperator
using default value. - orElse(double) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleSupplier
-
Converts this
OptionalDoubleSupplier
to plainDoubleSupplier
using default value. - orElse(double) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleUnaryOperator
-
Converts this
OptionalDoubleUnaryOperator
to plainDoubleUnaryOperator
using default value. - orElse(double) - Method in interface com.machinezoo.noexception.optional.OptionalIntToDoubleFunction
-
Converts this
OptionalIntToDoubleFunction
to plainIntToDoubleFunction
using default value. - orElse(double) - Method in interface com.machinezoo.noexception.optional.OptionalLongToDoubleFunction
-
Converts this
OptionalLongToDoubleFunction
to plainLongToDoubleFunction
using default value. - orElse(double) - Method in interface com.machinezoo.noexception.optional.OptionalToDoubleBiFunction
-
Converts this
OptionalToDoubleBiFunction
to plainToDoubleBiFunction
using default value. - orElse(double) - Method in interface com.machinezoo.noexception.optional.OptionalToDoubleFunction
-
Converts this
OptionalToDoubleFunction
to plainToDoubleFunction
using default value. - orElse(int) - Method in interface com.machinezoo.noexception.optional.OptionalComparator
-
Converts this
OptionalComparator
to plainComparator
using default value. - orElse(int) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleToIntFunction
-
Converts this
OptionalDoubleToIntFunction
to plainDoubleToIntFunction
using default value. - orElse(int) - Method in interface com.machinezoo.noexception.optional.OptionalIntBinaryOperator
-
Converts this
OptionalIntBinaryOperator
to plainIntBinaryOperator
using default value. - orElse(int) - Method in interface com.machinezoo.noexception.optional.OptionalIntSupplier
-
Converts this
OptionalIntSupplier
to plainIntSupplier
using default value. - orElse(int) - Method in interface com.machinezoo.noexception.optional.OptionalIntUnaryOperator
-
Converts this
OptionalIntUnaryOperator
to plainIntUnaryOperator
using default value. - orElse(int) - Method in interface com.machinezoo.noexception.optional.OptionalLongToIntFunction
-
Converts this
OptionalLongToIntFunction
to plainLongToIntFunction
using default value. - orElse(int) - Method in interface com.machinezoo.noexception.optional.OptionalToIntBiFunction
-
Converts this
OptionalToIntBiFunction
to plainToIntBiFunction
using default value. - orElse(int) - Method in interface com.machinezoo.noexception.optional.OptionalToIntFunction
-
Converts this
OptionalToIntFunction
to plainToIntFunction
using default value. - orElse(long) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleToLongFunction
-
Converts this
OptionalDoubleToLongFunction
to plainDoubleToLongFunction
using default value. - orElse(long) - Method in interface com.machinezoo.noexception.optional.OptionalIntToLongFunction
-
Converts this
OptionalIntToLongFunction
to plainIntToLongFunction
using default value. - orElse(long) - Method in interface com.machinezoo.noexception.optional.OptionalLongBinaryOperator
-
Converts this
OptionalLongBinaryOperator
to plainLongBinaryOperator
using default value. - orElse(long) - Method in interface com.machinezoo.noexception.optional.OptionalLongSupplier
-
Converts this
OptionalLongSupplier
to plainLongSupplier
using default value. - orElse(long) - Method in interface com.machinezoo.noexception.optional.OptionalLongUnaryOperator
-
Converts this
OptionalLongUnaryOperator
to plainLongUnaryOperator
using default value. - orElse(long) - Method in interface com.machinezoo.noexception.optional.OptionalToLongBiFunction
-
Converts this
OptionalToLongBiFunction
to plainToLongBiFunction
using default value. - orElse(long) - Method in interface com.machinezoo.noexception.optional.OptionalToLongFunction
-
Converts this
OptionalToLongFunction
to plainToLongFunction
using default value. - orElse(R) - Method in interface com.machinezoo.noexception.optional.OptionalBiFunction
-
Converts this
OptionalBiFunction
to plainBiFunction
using default value. - orElse(R) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleFunction
-
Converts this
OptionalDoubleFunction
to plainDoubleFunction
using default value. - orElse(R) - Method in interface com.machinezoo.noexception.optional.OptionalFunction
-
Converts this
OptionalFunction
to plainFunction
using default value. - orElse(R) - Method in interface com.machinezoo.noexception.optional.OptionalIntFunction
-
Converts this
OptionalIntFunction
to plainIntFunction
using default value. - orElse(R) - Method in interface com.machinezoo.noexception.optional.OptionalLongFunction
-
Converts this
OptionalLongFunction
to plainLongFunction
using default value. - orElse(T) - Method in interface com.machinezoo.noexception.optional.OptionalBinaryOperator
-
Converts this
OptionalBinaryOperator
to plainBinaryOperator
using default value. - orElse(T) - Method in interface com.machinezoo.noexception.optional.OptionalSupplier
-
Converts this
OptionalSupplier
to plainSupplier
using default value. - orElse(T) - Method in interface com.machinezoo.noexception.optional.OptionalUnaryOperator
-
Converts this
OptionalUnaryOperator
to plainUnaryOperator
using default value. - orElseGet(BooleanSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalBiPredicate
- orElseGet(BooleanSupplier) - Method in class com.machinezoo.noexception.optional.OptionalBoolean
-
Returns the value if present, otherwise invokes
other
and returns the result of that invocation. - orElseGet(BooleanSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalBooleanSupplier
- orElseGet(BooleanSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalDoublePredicate
- orElseGet(BooleanSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalIntPredicate
- orElseGet(BooleanSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalLongPredicate
- orElseGet(BooleanSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalPredicate
- orElseGet(DoubleSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleBinaryOperator
-
Converts this
OptionalDoubleBinaryOperator
to plainDoubleBinaryOperator
using fallbackDoubleSupplier
. - orElseGet(DoubleSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleSupplier
- orElseGet(DoubleSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleUnaryOperator
-
Converts this
OptionalDoubleUnaryOperator
to plainDoubleUnaryOperator
using fallbackDoubleSupplier
. - orElseGet(DoubleSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalIntToDoubleFunction
-
Converts this
OptionalIntToDoubleFunction
to plainIntToDoubleFunction
using fallbackDoubleSupplier
. - orElseGet(DoubleSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalLongToDoubleFunction
-
Converts this
OptionalLongToDoubleFunction
to plainLongToDoubleFunction
using fallbackDoubleSupplier
. - orElseGet(DoubleSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalToDoubleBiFunction
- orElseGet(DoubleSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalToDoubleFunction
- orElseGet(IntSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalComparator
- orElseGet(IntSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleToIntFunction
- orElseGet(IntSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalIntBinaryOperator
- orElseGet(IntSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalIntSupplier
- orElseGet(IntSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalIntUnaryOperator
- orElseGet(IntSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalLongToIntFunction
- orElseGet(IntSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalToIntBiFunction
- orElseGet(IntSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalToIntFunction
- orElseGet(LongSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleToLongFunction
-
Converts this
OptionalDoubleToLongFunction
to plainDoubleToLongFunction
using fallbackLongSupplier
. - orElseGet(LongSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalIntToLongFunction
- orElseGet(LongSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalLongBinaryOperator
- orElseGet(LongSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalLongSupplier
- orElseGet(LongSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalLongUnaryOperator
- orElseGet(LongSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalToLongBiFunction
- orElseGet(LongSupplier) - Method in interface com.machinezoo.noexception.optional.OptionalToLongFunction
- orElseGet(Supplier<R>) - Method in interface com.machinezoo.noexception.optional.OptionalBiFunction
- orElseGet(Supplier<R>) - Method in interface com.machinezoo.noexception.optional.OptionalDoubleFunction
- orElseGet(Supplier<R>) - Method in interface com.machinezoo.noexception.optional.OptionalFunction
- orElseGet(Supplier<R>) - Method in interface com.machinezoo.noexception.optional.OptionalIntFunction
- orElseGet(Supplier<R>) - Method in interface com.machinezoo.noexception.optional.OptionalLongFunction
- orElseGet(Supplier<T>) - Method in interface com.machinezoo.noexception.optional.OptionalBinaryOperator
- orElseGet(Supplier<T>) - Method in interface com.machinezoo.noexception.optional.OptionalSupplier
- orElseGet(Supplier<T>) - Method in interface com.machinezoo.noexception.optional.OptionalUnaryOperator
- orElseThrow() - Method in class com.machinezoo.noexception.optional.OptionalBoolean
-
Returns the contained value if present, otherwise throws
NoSuchElementException
. - orElseThrow(Supplier<X>) - Method in class com.machinezoo.noexception.optional.OptionalBoolean
-
Returns the contained value, if present, otherwise throws an exception created by the provided supplier.
P
- pass() - Static method in class com.machinezoo.noexception.Exceptions
-
Deprecated.Use
Exceptions.propagate()
instead. - passing() - Method in class com.machinezoo.noexception.ExceptionHandler
-
Adds a pass-through modifier to this exception handler.
- predicate(ThrowingPredicate<T>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingPredicate
. - predicate(Predicate<T>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
Predicate
. - predicate(Predicate<T>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
Predicate
in a try-catch block. - propagate() - Static method in class com.machinezoo.noexception.Exceptions
-
Returns
ExceptionHandler
that propagates (lets through) all exceptions.
R
- run() - Method in interface com.machinezoo.noexception.throwing.ThrowingRunnable
-
Variation of
Runnable.run()
that allows throwing checked exceptions. - run(ThrowingRunnable) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Filters out checked exceptions while running
ThrowingRunnable
. - run(Runnable) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Filters exceptions while running
Runnable
. - run(Runnable) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Runs
Runnable
in a try-catch block. - runnable(ThrowingRunnable) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingRunnable
. - runnable(Runnable) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
Runnable
. - runnable(Runnable) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
Runnable
in a try-catch block.
S
- silence() - Static method in class com.machinezoo.noexception.Exceptions
-
Returns
ExceptionHandler
that silently ignores all exceptions. - sneak() - Static method in class com.machinezoo.noexception.Exceptions
-
Returns
CheckedExceptionHandler
that lets through checked exceptions without declaring them. - stream() - Method in class com.machinezoo.noexception.optional.OptionalBoolean
-
If a value is present, returns the value in a stream, otherwise returns an empty stream.
- supplier(ThrowingSupplier<T>) - Method in class com.machinezoo.noexception.CheckedExceptionHandler
-
Removes checked exceptions from method signature of
ThrowingSupplier
. - supplier(Supplier<T>) - Method in class com.machinezoo.noexception.ExceptionFilter
-
Applies exception filter to
Supplier
. - supplier(Supplier<T>) - Method in class com.machinezoo.noexception.ExceptionHandler
-
Wraps
Supplier
in a try-catch block.
T
- test(double) - Method in interface com.machinezoo.noexception.optional.OptionalDoublePredicate
-
Variation of
DoublePredicate.test(double)
that returnsOptionalBoolean
. - test(double) - Method in interface com.machinezoo.noexception.throwing.ThrowingDoublePredicate
-
Variation of
DoublePredicate.test(double)
that allows throwing checked exceptions. - test(int) - Method in interface com.machinezoo.noexception.optional.OptionalIntPredicate
-
Variation of
IntPredicate.test(int)
that returnsOptionalBoolean
. - test(int) - Method in interface com.machinezoo.noexception.throwing.ThrowingIntPredicate
-
Variation of
IntPredicate.test(int)
that allows throwing checked exceptions. - test(long) - Method in interface com.machinezoo.noexception.optional.OptionalLongPredicate
-
Variation of
LongPredicate.test(long)
that returnsOptionalBoolean
. - test(long) - Method in interface com.machinezoo.noexception.throwing.ThrowingLongPredicate
-
Variation of
LongPredicate.test(long)
that allows throwing checked exceptions. - test(T) - Method in interface com.machinezoo.noexception.optional.OptionalPredicate
-
Variation of
Predicate.test(Object)
that returnsOptionalBoolean
. - test(T) - Method in interface com.machinezoo.noexception.throwing.ThrowingPredicate
-
Variation of
Predicate.test(Object)
that allows throwing checked exceptions. - test(T, U) - Method in interface com.machinezoo.noexception.optional.OptionalBiPredicate
-
Variation of
BiPredicate.test(Object, Object)
that returnsOptionalBoolean
. - test(T, U) - Method in interface com.machinezoo.noexception.throwing.ThrowingBiPredicate
-
Variation of
BiPredicate.test(Object, Object)
that allows throwing checked exceptions. - ThrowingBiConsumer<T,U> - Interface in com.machinezoo.noexception.throwing
-
Variation of
BiConsumer
that allows throwing checked exceptions. - ThrowingBiFunction<T,U,R> - Interface in com.machinezoo.noexception.throwing
-
Variation of
BiFunction
that allows throwing checked exceptions. - ThrowingBinaryOperator<T> - Interface in com.machinezoo.noexception.throwing
-
Variation of
BinaryOperator
that allows throwing checked exceptions. - ThrowingBiPredicate<T,U> - Interface in com.machinezoo.noexception.throwing
-
Variation of
BiPredicate
that allows throwing checked exceptions. - ThrowingBooleanSupplier - Interface in com.machinezoo.noexception.throwing
-
Variation of
BooleanSupplier
that allows throwing checked exceptions. - ThrowingComparator<T> - Interface in com.machinezoo.noexception.throwing
-
Variation of
Comparator
that allows throwing checked exceptions. - ThrowingConsumer<T> - Interface in com.machinezoo.noexception.throwing
-
Variation of
Consumer
that allows throwing checked exceptions. - ThrowingDoubleBinaryOperator - Interface in com.machinezoo.noexception.throwing
-
Variation of
DoubleBinaryOperator
that allows throwing checked exceptions. - ThrowingDoubleConsumer - Interface in com.machinezoo.noexception.throwing
-
Variation of
DoubleConsumer
that allows throwing checked exceptions. - ThrowingDoubleFunction<R> - Interface in com.machinezoo.noexception.throwing
-
Variation of
DoubleFunction
that allows throwing checked exceptions. - ThrowingDoublePredicate - Interface in com.machinezoo.noexception.throwing
-
Variation of
DoublePredicate
that allows throwing checked exceptions. - ThrowingDoubleSupplier - Interface in com.machinezoo.noexception.throwing
-
Variation of
DoubleSupplier
that allows throwing checked exceptions. - ThrowingDoubleToIntFunction - Interface in com.machinezoo.noexception.throwing
-
Variation of
DoubleToIntFunction
that allows throwing checked exceptions. - ThrowingDoubleToLongFunction - Interface in com.machinezoo.noexception.throwing
-
Variation of
DoubleToLongFunction
that allows throwing checked exceptions. - ThrowingDoubleUnaryOperator - Interface in com.machinezoo.noexception.throwing
-
Variation of
DoubleUnaryOperator
that allows throwing checked exceptions. - ThrowingFunction<T,R> - Interface in com.machinezoo.noexception.throwing
-
Variation of
Function
that allows throwing checked exceptions. - ThrowingIntBinaryOperator - Interface in com.machinezoo.noexception.throwing
-
Variation of
IntBinaryOperator
that allows throwing checked exceptions. - ThrowingIntConsumer - Interface in com.machinezoo.noexception.throwing
-
Variation of
IntConsumer
that allows throwing checked exceptions. - ThrowingIntFunction<R> - Interface in com.machinezoo.noexception.throwing
-
Variation of
IntFunction
that allows throwing checked exceptions. - ThrowingIntPredicate - Interface in com.machinezoo.noexception.throwing
-
Variation of
IntPredicate
that allows throwing checked exceptions. - ThrowingIntSupplier - Interface in com.machinezoo.noexception.throwing
-
Variation of
IntSupplier
that allows throwing checked exceptions. - ThrowingIntToDoubleFunction - Interface in com.machinezoo.noexception.throwing
-
Variation of
IntToDoubleFunction
that allows throwing checked exceptions. - ThrowingIntToLongFunction - Interface in com.machinezoo.noexception.throwing
-
Variation of
IntToLongFunction
that allows throwing checked exceptions. - ThrowingIntUnaryOperator - Interface in com.machinezoo.noexception.throwing
-
Variation of
IntUnaryOperator
that allows throwing checked exceptions. - ThrowingLongBinaryOperator - Interface in com.machinezoo.noexception.throwing
-
Variation of
LongBinaryOperator
that allows throwing checked exceptions. - ThrowingLongConsumer - Interface in com.machinezoo.noexception.throwing
-
Variation of
LongConsumer
that allows throwing checked exceptions. - ThrowingLongFunction<R> - Interface in com.machinezoo.noexception.throwing
-
Variation of
LongFunction
that allows throwing checked exceptions. - ThrowingLongPredicate - Interface in com.machinezoo.noexception.throwing
-
Variation of
LongPredicate
that allows throwing checked exceptions. - ThrowingLongSupplier - Interface in com.machinezoo.noexception.throwing
-
Variation of
LongSupplier
that allows throwing checked exceptions. - ThrowingLongToDoubleFunction - Interface in com.machinezoo.noexception.throwing
-
Variation of
LongToDoubleFunction
that allows throwing checked exceptions. - ThrowingLongToIntFunction - Interface in com.machinezoo.noexception.throwing
-
Variation of
LongToIntFunction
that allows throwing checked exceptions. - ThrowingLongUnaryOperator - Interface in com.machinezoo.noexception.throwing
-
Variation of
LongUnaryOperator
that allows throwing checked exceptions. - ThrowingObjDoubleConsumer<T> - Interface in com.machinezoo.noexception.throwing
-
Variation of
ObjDoubleConsumer
that allows throwing checked exceptions. - ThrowingObjIntConsumer<T> - Interface in com.machinezoo.noexception.throwing
-
Variation of
ObjIntConsumer
that allows throwing checked exceptions. - ThrowingObjLongConsumer<T> - Interface in com.machinezoo.noexception.throwing
-
Variation of
ObjLongConsumer
that allows throwing checked exceptions. - ThrowingPredicate<T> - Interface in com.machinezoo.noexception.throwing
-
Variation of
Predicate
that allows throwing checked exceptions. - ThrowingRunnable - Interface in com.machinezoo.noexception.throwing
-
Variation of
Runnable
that allows throwing checked exceptions. - ThrowingSupplier<T> - Interface in com.machinezoo.noexception.throwing
-
Variation of
Supplier
that allows throwing checked exceptions. - ThrowingToDoubleBiFunction<T,U> - Interface in com.machinezoo.noexception.throwing
-
Variation of
ToDoubleBiFunction
that allows throwing checked exceptions. - ThrowingToDoubleFunction<T> - Interface in com.machinezoo.noexception.throwing
-
Variation of
ToDoubleFunction
that allows throwing checked exceptions. - ThrowingToIntBiFunction<T,U> - Interface in com.machinezoo.noexception.throwing
-
Variation of
ToIntBiFunction
that allows throwing checked exceptions. - ThrowingToIntFunction<T> - Interface in com.machinezoo.noexception.throwing
-
Variation of
ToIntFunction
that allows throwing checked exceptions. - ThrowingToLongBiFunction<T,U> - Interface in com.machinezoo.noexception.throwing
-
Variation of
ToLongBiFunction
that allows throwing checked exceptions. - ThrowingToLongFunction<T> - Interface in com.machinezoo.noexception.throwing
-
Variation of
ToLongFunction
that allows throwing checked exceptions. - ThrowingUnaryOperator<T> - Interface in com.machinezoo.noexception.throwing
-
Variation of
UnaryOperator
that allows throwing checked exceptions. - toInt() - Method in class com.machinezoo.noexception.optional.OptionalBoolean
-
Widens the optional boolean value to
OptionalInt
. - toString() - Method in class com.machinezoo.noexception.optional.OptionalBoolean
-
Returns string representation of this instance suitable for debugging.
W
- wrap() - Static method in class com.machinezoo.noexception.Exceptions
-
Returns
CheckedExceptionHandler
that wraps all checked exceptions. - wrap(Function<Exception, RuntimeException>) - Static method in class com.machinezoo.noexception.Exceptions
-
Creates
CheckedExceptionHandler
that applies custom wrapper to checked exceptions. - WrappedException - Exception in com.machinezoo.noexception
-
Deprecated.Use
UndeclaredThrowableException
instead. - WrappedException(Throwable) - Constructor for exception com.machinezoo.noexception.WrappedException
-
Deprecated.Wraps checked exception.
All Classes All Packages