01: //$HeadURL: https://svn.wald.intevation.org/svn/deegree/base/trunk/src/org/deegree/framework/util/StringPair.java $
02: /*---------------- FILE HEADER ------------------------------------------
03: This file is part of deegree.
04: Copyright (C) 2001-2008 by:
05: Department of Geography, University of Bonn
06: http://www.giub.uni-bonn.de/deegree/
07: lat/lon GmbH
08: http://www.lat-lon.de
09:
10: This library is free software; you can redistribute it and/or
11: modify it under the terms of the GNU Lesser General Public
12: License as published by the Free Software Foundation; either
13: version 2.1 of the License, or (at your option) any later version.
14: This library is distributed in the hope that it will be useful,
15: but WITHOUT ANY WARRANTY; without even the implied warranty of
16: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17: Lesser General Public License for more details.
18: You should have received a copy of the GNU Lesser General Public
19: License along with this library; if not, write to the Free Software
20: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21: Contact:
22:
23: Andreas Poth
24: lat/lon GmbH
25: Aennchenstr. 19
26: 53177 Bonn
27: Germany
28: E-Mail: poth@lat-lon.de
29:
30: Prof. Dr. Klaus Greve
31: Department of Geography
32: University of Bonn
33: Meckenheimer Allee 166
34: 53115 Bonn
35: Germany
36: E-Mail: greve@giub.uni-bonn.de
37: ---------------------------------------------------------------------------*/
38:
39: package org.deegree.framework.util;
40:
41: /**
42: * <code>StringPair</code> is a convenience class, which pairs two Strings.
43: *
44: * @author <a href="mailto:tonnhofer@lat-lon.de">Oliver Tonnhofer</a>
45: *
46: * @author last edited by: $Author: otonnhofer $
47: *
48: * @version $Revision: 10326 $, $Date: 2008-02-27 04:27:53 -0800 (Wed, 27 Feb 2008) $
49: */
50: public class StringPair extends Pair<String, String> {
51:
52: /**
53: * create a StringPair with empty strings
54: */
55: public StringPair() {
56: super ("", "");
57: }
58:
59: /**
60: * @param first
61: * value of the pair.
62: * @param second
63: * value of the pair.
64: */
65: public StringPair(String first, String second) {
66: super(first, second);
67: }
68:
69: }
|