teichmann@5863: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5863: * Software engineering by Intevation GmbH teichmann@5863: * teichmann@5994: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5863: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5994: * documentation coming with Dive4Elements River for details. teichmann@5863: */ teichmann@5863: teichmann@5831: package org.dive4elements.river.utils; sascha@1817: sascha@1817: import java.io.Serializable; sascha@1817: sascha@1817: /** sascha@1817: * @param sascha@1817: * @param sascha@1817: * @author Sascha L. Teichmann sascha@1817: */ sascha@1817: public final class Pair sascha@1817: implements Serializable sascha@1817: { sascha@1817: private A a; sascha@1817: private B b; sascha@1817: teichmann@7037: public Pair() { sascha@1817: } sascha@1817: sascha@1817: public Pair(A a, B b) { sascha@1817: this.a = a; sascha@1817: this.b = b; sascha@1817: } sascha@1817: sascha@1817: public A getA() { sascha@1817: return a; sascha@1817: } sascha@1817: sascha@1817: public B getB() { sascha@1817: return b; sascha@1817: } rrenkert@5306: rrenkert@5306: public void setA(A a) { rrenkert@5306: this.a = a; rrenkert@5306: } rrenkert@5306: rrenkert@5306: public void setB(B b) { rrenkert@5306: this.b = b; rrenkert@5306: } sascha@1817: } sascha@1817: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :