Show / Hide Table of Contents

Class FullNode

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

Constructors

| Improve this Doc View Source

FullNode(ImmutableArray<INode>)

Declaration
public FullNode(ImmutableArray<INode> children)
Parameters
Type Name Description
System.Collections.Immutable.ImmutableArray<INode> children

Fields

| Improve this Doc View Source

ChildrenCount

Declaration
public const byte ChildrenCount = 17
Field Value
Type Description
System.Byte
| Improve this Doc View Source

Empty

Declaration
public static readonly FullNode Empty
Field Value
Type Description
FullNode

Properties

| Improve this Doc View Source

Children

Declaration
public ImmutableArray<INode> Children { get; }
Property Value
Type Description
System.Collections.Immutable.ImmutableArray<INode>
| Improve this Doc View Source

Value

Declaration
public INode Value { get; }
Property Value
Type Description
INode

Methods

| Improve this Doc View Source

Equals(FullNode)

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

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
System.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

RemoveChild(Int32)

Declaration
public FullNode RemoveChild(int index)
Parameters
Type Name Description
Int32 index
Returns
Type Description
FullNode
| Improve this Doc View Source

SetChild(Int32, INode)

Declaration
public FullNode SetChild(int index, INode childNode)
Parameters
Type Name Description
Int32 index
INode childNode
Returns
Type Description
FullNode
| Improve this Doc View Source

ToBencodex()

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

Implements

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