Package joptsimple.util
Class KeyValuePair
java.lang.Object
joptsimple.util.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.
- Author:
- Paul Holser
-
Field Summary
Fields -
Method Summary
-
Field Details
-
key
-
value
-
-
Method Details
-
valueOf
Parses a string assumed to be of the formkey=value
into its parts.- Parameters:
asString
- key-value string- Returns:
- a key-value pair
- Throws:
NullPointerException
- ifstringRepresentation
isnull
-
equals
-
hashCode
public int hashCode() -
toString
-