public final class MapEntry
extends java.lang.Object
| Constructor and Description |
|---|
MapEntry(byte[] key,
byte[] value)
Creates a new entry in a flat map proof corresponding to a leaf node.
|
MapEntry(com.google.protobuf.ByteString key,
com.google.protobuf.ByteString value)
Creates a new entry in a flat map proof corresponding to a leaf node.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
com.google.protobuf.ByteString |
getKey()
Returns the key in this entry.
|
com.google.protobuf.ByteString |
getValue()
Returns the value in this entry.
|
int |
hashCode() |
public MapEntry(byte[] key,
byte[] value)
key - a node keyvalue - a value mapped to the keypublic MapEntry(com.google.protobuf.ByteString key,
com.google.protobuf.ByteString value)
key - a node keyvalue - a value mapped to the keypublic com.google.protobuf.ByteString getKey()
public com.google.protobuf.ByteString getValue()
public final boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2018 Exonum. All rights reserved.