Show / Hide Table of Contents

Class ShortNode

Inheritance
Object
BaseNode
ShortNode
Implements
INode
IEquatable<ShortNode>
Inherited Members
BaseNode.Value
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Libplanet.Store.Trie.Nodes
Assembly: Libplanet.Store.dll
Syntax
public sealed class ShortNode : BaseNode, INode, IEquatable<ShortNode>

Constructors

| Improve this Doc View Source

ShortNode(in Nibbles, INode)

Declaration
public ShortNode(in Nibbles nibbles, INode value)
Parameters
Type Name Description
Nibbles nibbles
INode value

Properties

| Improve this Doc View Source

Key

Declaration
public Nibbles Key { get; }
Property Value
Type Description
Nibbles

Methods

| Improve this Doc View Source

Equals(ShortNode)

Declaration
public bool Equals(ShortNode other)
Parameters
Type Name Description
ShortNode other
Returns
Type Description
Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()
| Improve this Doc View Source

ToBencodex()

Declaration
public override IValue ToBencodex()
Returns
Type Description
Bencodex.Types.IValue
Overrides
BaseNode.ToBencodex()

Implements

INode
System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium