Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/utils/Pair.java @ 657:af3f56758f59
merged gnv-artifacts/0.5
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:13:53 +0200 |
parents | f7038820df2e |
children | c4156275c1e1 |
comparison
equal
deleted
inserted
replaced
590:5f5f273c8566 | 657:af3f56758f59 |
---|---|
1 package de.intevation.gnv.utils; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 /** | |
6 * @author Sascha L. Teichmann (sascha.teichmann@intevation.de) | |
7 */ | |
8 public final class Pair<A, B> | |
9 implements Serializable | |
10 { | |
11 private A a; | |
12 private B b; | |
13 | |
14 private Pair() { | |
15 } | |
16 | |
17 public Pair(A a, B b) { | |
18 this.a = a; | |
19 this.b = b; | |
20 } | |
21 | |
22 public A getA() { | |
23 return a; | |
24 } | |
25 | |
26 public B getB() { | |
27 return b; | |
28 } | |
29 } | |
30 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |