public class MapEntry
extends java.lang.Object
Constructor and Description |
---|
MapEntry() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getKey()
Get the key for this entry.
|
java.lang.Object |
getValue()
This will get the value for this entry.
|
void |
setKey(java.lang.Object k)
This will set the key for this entry.
|
void |
setValue(java.lang.Object val)
This will set the value for this entry.
|
java.lang.String |
toString()
This will output a string representation of this class.
|
public java.lang.Object getKey()
public void setKey(java.lang.Object k)
k
- the new key for this entry.public java.lang.Object getValue()
public void setValue(java.lang.Object val)
val
- the new value for this entry.public java.lang.String toString()
toString
in class java.lang.Object