public static class KeyValue.KeyValueOption extends Tuple
A key/value change. This is similar to the KeyValue structure, however in this case the value could be optional. Here it extends from a Tuple, indicating the use inside areas such as StorageChangeSet
| Constructor and Description |
|---|
KeyValueOption(java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
StorageKey |
getKey()
The StorageKey
|
Option<StorageData> |
getValue()
The Option StorageData
|
getEncodedLength, getTypes, toString, toU8aeq, getFiled, isEmpty, length, toHex, toJsonadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizefinalize, getClass, notify, notifyAll, wait, wait, waitgetConstructorCodec, toU8apublic StorageKey getKey()
The StorageKey
public Option<StorageData> getValue()
The Option StorageData