public class KeyValue extends AbstractMap.SimpleImmutableEntry<Key,Value>
Constructor and Description |
---|
KeyValue(Key key,
byte[] value)
Creates a new key/value pair.
|
KeyValue(Key key,
ByteBuffer value)
Creates a new key/value pair.
|
KeyValue(Key key,
Value value)
Creates a new key/value pair.
|
equals, getKey, getValue, hashCode, setValue, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue
public KeyValue(Key key, byte[] value)
key
- keyvalue
- bytes of valuepublic KeyValue(Key key, ByteBuffer value)
key
- keyvalue
- buffer containing bytes of valueCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.