comparison flys-artifacts/src/main/java/de/intevation/flys/utils/Pair.java @ 3786:4adc35aa655c

merged flys-artifacts/2.9.1
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:47 +0200
parents 595c404523a6
children 442fbb290fa8
comparison
equal deleted inserted replaced
3719:e82acd5c86f7 3786:4adc35aa655c
1 /*
2 * Copyright (c) 2010 by Intevation GmbH
3 *
4 * This program is free software under the LGPL (>=v2.1)
5 * Read the file LGPL.txt coming with the software for details
6 * or visit http://www.gnu.org/licenses/ if it does not exist.
7 */
8
9 package de.intevation.flys.utils;
10
11 import java.io.Serializable;
12
13 /**
14 * @param <A>
15 * @param <B>
16 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a>
17 */
18 public final class Pair<A, B>
19 implements Serializable
20 {
21 private A a;
22 private B b;
23
24 private Pair() {
25 }
26
27 public Pair(A a, B b) {
28 this.a = a;
29 this.b = b;
30 }
31
32 public A getA() {
33 return a;
34 }
35
36 public B getB() {
37 return b;
38 }
39 }
40 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org