- Enclosing class:
KeyValue<K,V>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Decoder to decode key/value bytes.
-
Method Summary
decode(byte[] keyData,
byte[] valueData)
Decode key and value bytes into a
KeyValue pair.
-
Method Details
-
decode
KeyValue<K,V> decode(byte[] keyData,
byte[] valueData)
Decode key and value bytes into a
KeyValue pair.
- Parameters:
keyData - key data
valueData - value data
- Returns:
- the decoded
KeyValue pair