• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

future-architect / uroborosql / #711

pending completion
#711

push

HidekiSugimoto189
[maven-release-plugin] prepare for next development iteration

7913 of 8776 relevant lines covered (90.17%)

0.9 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/jp/co/future/uroborosql/fluent/TriConsumer.java
1
/**
2
 * Copyright (c) 2017-present, Future Corporation
3
 *
4
 * This source code is licensed under the MIT license found in the
5
 * LICENSE file in the root directory of this source tree.
6
 */
7
package jp.co.future.uroborosql.fluent;
8

9
import java.util.Objects;
10

11
/**
12
 * 3つの入力引数を受け取って結果を返さないオペレーションを表します。
13
 *
14
 * @author H.Sugimoto
15
 *
16
 * @param <T> オペレーションの第1引数の型
17
 * @param <U> オペレーションの第2引数の型
18
 * @param <V> オペレーションの第3引数の型
19
 */
20
@FunctionalInterface
21
public interface TriConsumer<T, U, V> {
22
        /**
23
         * 指定された引数でこのオペレーションを実行します。
24
         *
25
         * @param t 第1入力引数
26
         * @param u 第2入力引数
27
         * @param v 第3入力引数
28
         */
29
        public void accept(T t, U u, V v);
30

31
        /**
32
         * このオペレーションを実行した後、続けてafterオペレーションを実行する合成TriConsumerを返します。
33
         *
34
         * @param after このオペレーションの後で実行するオペレーション
35
         * @return このオペレーションを実行した後、続けてafterオペレーションを実行する合成BiConsumer
36
         * @exception NullPointerException afterがnullの場合
37
         */
38
        public default TriConsumer<T, U, V> andThen(final TriConsumer<? super T, ? super U, ? super V> after) {
39
                Objects.requireNonNull(after);
×
40
                return (t, u, v) -> {
×
41
                        accept(t, u, v);
×
42
                        after.accept(t, u, v);
×
43
                };
×
44
        }
45
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc