public class MapEntry extends Object
Constructor and Description |
---|
MapEntry() |
Modifier and Type | Method and Description |
---|---|
Object |
getKey()
Get the key for this entry.
|
Object |
getValue()
This will get the value for this entry.
|
void |
setKey(Object k)
This will set the key for this entry.
|
void |
setValue(Object val)
This will set the value for this entry.
|
String |
toString()
This will output a string representation of this class.
|
public Object getKey()
public void setKey(Object k)
k
- the new key for this entry.public Object getValue()
public void setValue(Object val)
val
- the new value for this entry.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.