public final class KeyValuePair extends Object
This is useful as an argument type for options whose values take on the form key=value, such as JVM command line system properties.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
int |
hashCode() |
String |
toString() |
static KeyValuePair |
valueOf(String asString)
Parses a string assumed to be of the form key=value into its parts.
|
public static KeyValuePair valueOf(String asString)
asString - key-value stringNullPointerException - if stringRepresentation is nullCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.