Interface ArgumentAppender<T>
-
public interface ArgumentAppender<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContinuingValidationBuilder<T>whileApplying(Object argument)You've entered a BiPredicate flow.
-
-
-
Method Detail
-
whileApplying
ContinuingValidationBuilder<T> whileApplying(Object argument)
You've entered a BiPredicate flow. This argument will be the second argument next to the regular one to use in your predicate. When you wish to compare your value with another one for example, the BiPredicate would look like:(x, y) -> x.compareTo(y);- Parameters:
argument- the second argument in your BiPredicate.- Returns:
- ContinuingValidationBuilder to continue adding rules.
-
-