Class KeyValueWrapper
java.lang.Object
com.github.eventmanager.formatters.KeyValueWrapper
The KeyValueWrapper class is a simple data structure that holds a key-value pair.
It provides methods to retrieve the key and value, and to represent the key-value pair as a string.
-
Constructor Summary
ConstructorsConstructorDescriptionKeyValueWrapper
(String key, String value) Constructs a KeyValueWrapper with the specified key and value. -
Method Summary
-
Constructor Details
-
KeyValueWrapper
Constructs a KeyValueWrapper with the specified key and value.- Parameters:
key
- the key of the key-value pair.value
- the value of the key-value pair.
-
-
Method Details