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