@Plugin(name="KeyValuePair", category="Core", printObject=true) public final class KeyValuePair extends Object
hashCode()
and equals(Object)
Modifier and Type | Class and Description |
---|---|
static class |
KeyValuePair.Builder |
Constructor and Description |
---|
KeyValuePair(String key,
String value)
Constructs a key/value pair.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getKey()
Returns the key.
|
String |
getValue()
Returns the value.
|
int |
hashCode() |
static KeyValuePair.Builder |
newBuilder() |
String |
toString() |
public String getKey()
public String getValue()
@PluginBuilderFactory public static KeyValuePair.Builder newBuilder()
Copyright © 1999-2017. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.