dnet40/modules/uoa-repository-manager-service/src/main/java/eu/dnetlib/repo/manager/service/shared/Tuple.java @ 49362
1 |
package eu.dnetlib.repo.manager.service.shared; |
---|---|
2 |
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
4 |
|
5 |
/**
|
6 |
* Created by stefania on 12/18/15.
|
7 |
*/
|
8 |
public class Tuple<K, V> implements IsSerializable { |
9 |
|
10 |
private K first; |
11 |
private V second; |
12 |
|
13 |
public Tuple() { |
14 |
}
|
15 |
|
16 |
public Tuple(K first, V second) { |
17 |
this.first = first; |
18 |
this.second = second; |
19 |
}
|
20 |
|
21 |
public K getFirst() { |
22 |
return first; |
23 |
}
|
24 |
|
25 |
public void setFirst(K first) { |
26 |
this.first = first; |
27 |
}
|
28 |
|
29 |
public V getSecond() { |
30 |
return second; |
31 |
}
|
32 |
|
33 |
public void setSecond(V second) { |
34 |
this.second = second; |
35 |
}
|
36 |
}
|