/** * Sets a {@link Consumer3} to execute if this matches. */ public FluentMatchingC<T> then(Consumer3<A, B, C> consumer) { return then(new FluentMatchingC<>(value), consumer); } }
/** * Sets a {@link Function3} to execute if this matches. */ public <R> FluentMatchingR<T, R> get(Function3<A, B, C, R> function) { return get(new FluentMatchingR<>(value), function); }
/** * 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> InitialMatching3<T, U, A, B, C> when( DecomposableMatchBuilder3<U, A, B, C> decomposableMatchBuilder) { return new InitialMatching3<>(decomposableMatchBuilder.build(), value); } }