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