summaryrefslogtreewikicommitdiff
path: root/src/main/java/cat/freya/khs/util/Tuple.java
blob: b3228e1e0738fbb03d6fa3ac0b7f4e2527e1c84b (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
package cat.freya.khs.util;

public class Tuple<L, C, R> {

    private final L left;
    private final C center;
    private final R right;

    public Tuple(L left, C center, R right) {
        this.left = left;
        this.center = center;
        this.right = right;
    }

    public L getLeft() {
        return left;
    }

    public C getCenter() {
        return center;
    }

    public R getRight() {
        return right;
    }

}