edu.jhu.cs.oose.group3.intelligentbook.model
Class Mapping<K,V>

java.lang.Object
  extended by edu.jhu.cs.oose.group3.intelligentbook.model.Mapping<K,V>

public class Mapping<K,V>
extends java.lang.Object


Field Summary
private  K key
           
private  V value
           
 
Constructor Summary
Mapping(K key, V value)
           
 
Method Summary
 K getKey()
           
 V getValue()
           
 void setKey(K key)
           
 void setValue(V value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

private K key

value

private V value
Constructor Detail

Mapping

public Mapping(K key,
               V value)
Method Detail

getKey

public K getKey()

setKey

public void setKey(K key)

getValue

public V getValue()

setValue

public void setValue(V value)