/** * Sets a {@link Consumer0} to execute if this matches. */ public FluentMatchingC<T> then(Consumer0 consumer) { return then(new FluentMatchingC<>(value), consumer); } }
/** * 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 Consumer} to execute if this matches. */ public FluentMatchingC<T> then(Consumer<A> consumer) { return then(new FluentMatchingC<>(value), consumer); } }
/** * 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); }
/** * Sets a {@link Function} to execute if this matches. */ public FluentMatchingR<T, R> get(Function<A, R> function) { return get(fluentMatchingR, function); } }
/** * 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 Consumer2} to execute if this matches. */ public FluentMatchingC<T> then(Consumer2<A, B> consumer) { return then(new FluentMatchingC<>(value), consumer); } }
/** * 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 Supplier} to execute if this matches. */ public FluentMatchingR<T, R> get(Supplier<R> supplier) { return get(fluentMatchingR, supplier); } }
/** * Sets a {@link Function3} to execute if this matches. */ public FluentMatchingR<T, R> get(Function3<A, B, C, R> function) { return get(fluentMatchingR, function); } }
/** * Sets a {@link Consumer0} to execute if this matches. */ public FluentMatchingC<T> then(Consumer0 consumer) { return then(fluentMatchingC, consumer); } }
/** * Sets a {@link Function2} to execute if this matches. */ public FluentMatchingR<T, R> get(Function2<A, B, R> function) { return get(fluentMatchingR, function); } }
/** * Sets a {@link Consumer2} to execute if this matches. */ public FluentMatchingC<T> then(Consumer2<A, B> consumer) { return then(fluentMatchingC, consumer); } }
/** * Sets a {@link Consumer} to execute if this matches. */ public FluentMatchingC<T> then(Consumer<A> consumer) { return then(fluentMatchingC, consumer); } }
/** * Sets a {@link Consumer3} to execute if this matches. */ public FluentMatchingC<T> then(Consumer3<A, B, C> consumer) { return then(fluentMatchingC, consumer); } }