sascha@1817: /* sascha@1817: * Copyright (c) 2010 by Intevation GmbH sascha@1817: * sascha@1817: * This program is free software under the LGPL (>=v2.1) sascha@1817: * Read the file LGPL.txt coming with the software for details sascha@1817: * or visit http://www.gnu.org/licenses/ if it does not exist. sascha@1817: */ sascha@1817: sascha@1817: package de.intevation.flys.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: christian@4656: @SuppressWarnings("unused") sascha@1817: private 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 :