public class Parameter extends Object implements Serializable
Constructor and Description |
---|
Parameter() |
Parameter(String key,
String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getKey()
Returns the value of field 'key'.
|
String |
getValue()
Returns the value of field 'value'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
void |
setKey(String key)
Sets the value of field 'key'.
|
void |
setValue(String value)
Sets the value of field 'value'.
|
public boolean equals(Object obj)
public String getKey()
public String getValue()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public void setKey(String key)
key
- the value of field 'key'.public void setValue(String value)
value
- the value of field 'value'.Copyright © 2017. All rights reserved.