/** * Sets a {@link Function2} to execute if this matches. */ public <R> FluentMatchingR<T, R> get(Function2<A, B, R> function) { return get(new FluentMatchingR<>(value), function); }
/** * 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); }
/** * Sets a {@link Supplier} to execute if this matches. */ public <R> FluentMatchingR<T, R> get(Supplier<R> supplier) { return get(new FluentMatchingR<>(value), supplier); }
/** * Sets a {@link Function} to execute if this matches. */ public <R> FluentMatchingR<T, R> get(Function<A, R> function) { return get(new FluentMatchingR<>(value), function); }