public class KeyValue<K extends java.lang.Comparable,V>
extends java.lang.Object
implements java.util.Map.Entry
Constructor and Description |
---|
KeyValue()
Constructor that creates a blank key to prepare to receive pointers
to facilitate retrieval.
|
KeyValue(K key,
V value) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getKey() |
K |
getmKey() |
V |
getmValue() |
java.lang.Object |
getValue() |
void |
setmKey(K mKey) |
void |
setmValue(V mValue) |
java.lang.Object |
setValue(java.lang.Object value) |
java.lang.String |
toString() |
public KeyValue()
public K getmKey() throws java.io.IOException
java.io.IOException
public void setmKey(K mKey)
public V getmValue() throws java.io.IOException
java.io.IOException
public void setmValue(V mValue)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object getKey()
getKey
in interface java.util.Map.Entry
public java.lang.Object getValue()
getValue
in interface java.util.Map.Entry
public java.lang.Object setValue(java.lang.Object value)
setValue
in interface java.util.Map.Entry