summaryrefslogtreecommitdiff
path: root/src/main/java/utils/VS3Tupel.java
blob: ac7ffba3c272c40bc68253dccddddd7437e625b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package utils;

/**
 * The class VS3Tupel, an object of this class represents a 3-Tupel of objects.
 * Each object can have its own type.
 *
 * @author Paul C. Buetow
 */
public final class VS3Tupel<A,B,C> {
    /** The a. */
    private A a;

    /** The b. */
    private B b;

    /** The c. */
    private C c;

    /**
     * Instantiates a new tupel.
     *
     * @param a the a
     * @param b the b
     * @param c the c
     */
    public VS3Tupel(A a, B b, C c) {
        this.a = a;
        this.b = b;
        this.c = c;
    }

    /**
     * Gets the a.
     *
     * @return the a
     */
    public A getA() {
        return a;
    }

    /**
     * Gets the b.
     *
     * @return the b
     */
    public B getB() {
        return b;
    }

    /**
     * Gets the c.
     *
     * @return the c
     */
    public C getC() {
        return c;
    }
}