001 package org.tynamo.util;
002
003 public class Pair<K, V>
004 {
005 private K key;
006
007 private V value;
008
009 public Pair(K key, V value)
010 {
011 this.key = key;
012 this.value = value;
013 }
014
015 public K getKey()
016 {
017 return key;
018 }
019
020 public V getValue()
021 {
022 return value;
023 }
024
025 }