comparison artifacts-common/src/main/java/org/dive4elements/artifacts/common/model/KVP.java @ 472:783cc1b6b615

Moved directories to org.dive4elements
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 10:53:15 +0200
parents artifacts-common/src/main/java/de/intevation/artifacts/common/model/KVP.java@156904aa7c85
children 415df0fc4fa1
comparison
equal deleted inserted replaced
471:1a87cb24a446 472:783cc1b6b615
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 package de.intevation.artifacts.common.model;
9
10
11 public class KVP<K, V> {
12
13 private K key;
14 private V value;
15
16
17 public KVP(K key, V value) {
18 this.key = key;
19 this.value = value;
20 }
21
22
23 public K getKey() {
24 return key;
25 }
26
27
28 public V getValue() {
29 return value;
30 }
31 }
32 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org