Uses of Class
com.exonum.binding.common.proofs.map.DbKey
| Package | Description |
|---|---|
| com.exonum.binding.common.proofs | |
| com.exonum.binding.common.proofs.map |
-
Uses of DbKey in com.exonum.binding.common.proofs
Methods in com.exonum.binding.common.proofs that return types with arguments of type DbKey Modifier and Type Method Description static Funnel<DbKey>DbKeyCompressedFunnel. dbKeyCompressedFunnel()static Funnel<DbKey>DbKeyFunnel. dbKeyFunnel()Methods in com.exonum.binding.common.proofs with parameters of type DbKey Modifier and Type Method Description voidDbKeyCompressedFunnel. funnel(DbKey from, PrimitiveSink into)voidDbKeyFunnel. funnel(DbKey from, PrimitiveSink into) -
Uses of DbKey in com.exonum.binding.common.proofs.map
Methods in com.exonum.binding.common.proofs.map that return DbKey Modifier and Type Method Description DbKeyDbKey. commonPrefix(DbKey other)Returns new branch DbKey (unless common prefix of two equals DbKeys is requested, in which case this DbKey itself is returned), which is a common prefix of this and another DbKey.static DbKeyDbKey. fromBytes(byte[] rawDbKey)Creates a database key.DbKeyMapProofEntry. getDbKey()Returns a database key of this node.static DbKeyDbKey. newBranchKey(byte[] keySlice, int numSignificantBits)Creates a new branch database key.static DbKeyDbKey. newLeafKey(byte[] keySlice)Given key as a byte array, returns new leaf DbKey.static DbKeyDbKey. newLeafKey(com.google.protobuf.ByteString key)Given key as a ByteString, returns new leaf DbKey.Methods in com.exonum.binding.common.proofs.map with parameters of type DbKey Modifier and Type Method Description DbKeyDbKey. commonPrefix(DbKey other)Returns new branch DbKey (unless common prefix of two equals DbKeys is requested, in which case this DbKey itself is returned), which is a common prefix of this and another DbKey.intDbKey. compareTo(DbKey other)The following algorithm is used for comparison: Try to find a first bit index at which this key is greater than the other key (i.e., a bit of this key is 1 and the corresponding bit of the other key is 0), and vice versa.booleanDbKey. isPrefixOf(DbKey other)Returns true if thisDbKeyis a prefix of thatDbKey.