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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValuepublic KeyValue(Key key, byte[] value)
key - keyvalue - bytes of valuepublic KeyValue(Key key, ByteBuffer value)
key - keyvalue - buffer containing bytes of valueCopyright © 2011–2016 The Apache Software Foundation. All rights reserved.