Uses of Class
com.luchersol.core.specialized_checkers.lambda.CheckerBiConsumer
Packages that use CheckerBiConsumer
Package
Description
Lambda expression and functional programming checkers.
-
Uses of CheckerBiConsumer in com.luchersol.core.specialized_checkers.lambda
Subclasses with type arguments of type CheckerBiConsumer in com.luchersol.core.specialized_checkers.lambdaModifier and TypeClassDescriptionclassCheckerBiConsumer<T,U> A specialized checker forBiConsumerinstances, providing fluent API methods to assert various behaviors and properties of a BiConsumer, such as exception safety, input modification, and no-op behavior.Methods in com.luchersol.core.specialized_checkers.lambda that return CheckerBiConsumerModifier and TypeMethodDescriptionCheckerBiConsumer.activateDeepClone()Activates deep cloning of inputs before passing them to the BiConsumer.CheckerBiConsumer.applyWithoutException(Collection<? extends Map.Entry<T, U>> input) Checks that the BiConsumer can be applied to all entries in the collection without throwing an exception.CheckerBiConsumer.applyWithoutException(T input1, U input2) Checks that the BiConsumer can be applied to the given inputs without throwing an exception.static <T,U> CheckerBiConsumer <T, U> CheckerBiConsumer.check(BiConsumer<T, U> biconsumer) Creates a CheckerBiConsumer for the given BiConsumer with a default name.static <T,U> CheckerBiConsumer <T, U> CheckerBiConsumer.check(BiConsumer<T, U> biconsumer, String name) Creates a CheckerBiConsumer for the given BiConsumer and assigns a custom name.CheckerBiConsumer.deactivateDeepClone()Deactivates deep cloning of inputs before passing them to the BiConsumer.CheckerBiConsumer.doesNothing(Collection<? extends Map.Entry<T, U>> input) Checks that the BiConsumer does not modify any of the entries in the collection.CheckerBiConsumer.doesNothing(T input1, U input2) Checks that the BiConsumer does not modify the given inputs.CheckerBiConsumer.modifiesInput(Collection<? extends Map.Entry<T, U>> input, BiPredicate<T, U> condition) Checks that the BiConsumer modifies all entries in the collection as expected, according to the given bi-predicate.CheckerBiConsumer.modifiesInput(Collection<? extends Map.Entry<T, U>> input, Predicate<T> condition1, Predicate<U> condition2) Checks that the BiConsumer modifies all entries in the collection as expected, according to the given predicates.CheckerBiConsumer.modifiesInput(T input1, U input2, BiPredicate<T, U> condition) Checks that the BiConsumer modifies the inputs as expected, according to the given bi-predicate.CheckerBiConsumer.modifiesInput(T input1, U input2, Predicate<T> condition1, Predicate<U> condition2) Checks that the BiConsumer modifies the inputs as expected, according to the given predicates.protected CheckerBiConsumer<T, U> CheckerBiConsumer.self()Returns this instance (for fluent API).