|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjoptsimple.util.KeyValuePair
public final class KeyValuePair
A simple string key/string value pair.
This is useful as an argument type for options whose values take on the form key=value, such as JVM command line system properties.
| Field Summary | |
|---|---|
String |
key
|
String |
value
|
| Method Summary | |
|---|---|
boolean |
equals(Object that)
|
int |
hashCode()
|
String |
toString()
|
static KeyValuePair |
valueOf(String stringRepresentation)
Parses a string assumed to be of the form key=value into its parts. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final String key
public final String value
| Method Detail |
|---|
public static KeyValuePair valueOf(String stringRepresentation)
stringRepresentation - key-value string
NullPointerException - if stringRepresentation is
nullpublic boolean equals(Object that)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||