/** * Sets a {@link Consumer3} to execute if this matches. */ public FluentMatchingC<T> then(Consumer3<A, B, C> consumer) { return then(fluentMatchingC, consumer); } }
/** * Specifies an match on a decomposing matcher with 3 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, C> OngoingMatchingC3<T, U, A, B, C> when( DecomposableMatchBuilder3<U, A, B, C> decomposableMatchBuilder) { return new OngoingMatchingC3<>(this, decomposableMatchBuilder.build()); }