Project

General

Profile

1
package eu.dnetlib.data.bulktag;
2

    
3
/**
4
 * Created by miriam on 03/08/2018.
5
 */
6
public class Pair<A,B> {
7
    private A fst;
8
    private B snd;
9

    
10
    public A getFst() {
11
        return fst;
12
    }
13

    
14
    public Pair setFst(A fst) {
15
        this.fst = fst;
16
        return this;
17
    }
18

    
19
    public B getSnd() {
20
        return snd;
21
    }
22

    
23
    public Pair setSnd(B snd) {
24
        this.snd = snd;
25
        return this;
26
    }
27

    
28
    public Pair(A a, B b){
29
        fst = a;
30
        snd = b;
31
    }
32
}
(5-5/7)