Package world.mappable.runtime
Class KeyValuePair
java.lang.Object
↳ world.mappable.runtime.KeyValuePair
class KeyValuePair implements Serializable
Universal key-value data.
Summary
Constructors
Signature and Description |
KeyValuePair(@NonNull java.lang.String key, |
KeyValuePair() |
Methods
Type and modifiers |
Method and Description |
java.lang.String |
getKey() |
java.lang.String |
getValue() |
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
Constuctors
KeyValuePair
KeyValuePair(@NonNull java.lang.String key, |
KeyValuePair
KeyValuePair() |
Use constructor with parameters in your code.
This one is for bindings only!
Methods
getKey
@NonNull |
Data key.
For example, "currency".
getValue
@NonNull |
Data value.
For example, "USD".
serialize
@Override |