comparison flys-artifacts/src/main/java/de/intevation/flys/utils/Pair.java @ 1817:595c404523a6

Rewritten CrossSectionApp to be useful as test bed for 'Raum/Flaeche' operations. flys-artifacts/trunk@3146 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 03 Nov 2011 09:47:52 +0000
parents
children 442fbb290fa8
comparison
equal deleted inserted replaced
1816:5364b86a0880 1817:595c404523a6
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