public class KeyValue
extends java.lang.Object
The KeyValue is used as element of input argument
EntryStream<KeyValue> for put, the key and value
properties will always be non-null.
| Constructor | Description |
|---|---|
KeyValue(Key key,
Value value) |
Creates a KeyValue, key and value should be non-null.
|
| Modifier and Type | Method | Description |
|---|---|---|
Key |
getKey() |
Returns the Key part of the KV pair.
|
Value |
getValue() |
Returns the Value part of the KV pair.
|
java.lang.String |
toString() |
Copyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.