/** * Sets a {@link Consumer2} to execute if this matches. */ public FluentMatchingC<T> then(Consumer2<A, B> consumer) { return then(fluentMatchingC, consumer); } }
/** * Specifies an match on a decomposing matcher with 2 extracted fields and then returns a fluent * interface for specifying the action to take if the value matches this case. */ public <U extends T, A, B> OngoingMatchingC2<T, U, A, B> when( DecomposableMatchBuilder2<U, A, B> decomposableMatchBuilder) { return new OngoingMatchingC2<>(this, decomposableMatchBuilder.build()); }