Class KeyValuePair
java.lang.Object
org.apache.logging.log4j.core.util.KeyValuePair
@Plugin(name="KeyValuePair",
category="Core",
printObject=true)
public final class KeyValuePair
extends Object
Key/Value pair configuration item.
- Since:
- 2.1 implements
hashCode()
andequals(Object)
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
EMPTY_ARRAY
The empty array.
-
-
Constructor Details
-
KeyValuePair
Constructs a key/value pair. The constructor should only be called from test classes.- Parameters:
key
- The key.value
- The value.
-
-
Method Details