@proto-kit/common • Docs
Documentation / @proto-kit/common / InMemoryLinkedLeafStore
Class: InMemoryLinkedLeafStore
Implements
Constructors
new InMemoryLinkedLeafStore()
new InMemoryLinkedLeafStore():
InMemoryLinkedLeafStore
Returns
Properties
leaves
leaves:
object={}
Index Signature
[key: string]: object
Defined in
packages/common/src/trees/lmt/InMemoryLinkedLeafStore.ts:4
maximumIndex?
optionalmaximumIndex:bigint
Defined in
packages/common/src/trees/lmt/InMemoryLinkedLeafStore.ts:8
Methods
getLeaf()
getLeaf(
path):undefined|object
Parameters
• path: bigint
Returns
undefined | object
Implementation of
Defined in
packages/common/src/trees/lmt/InMemoryLinkedLeafStore.ts:10
getMaximumIndex()
getMaximumIndex():
undefined|bigint
Returns
undefined | bigint
Implementation of
LinkedLeafStore.getMaximumIndex
Defined in
packages/common/src/trees/lmt/InMemoryLinkedLeafStore.ts:29
getPreviousLeaf()
getPreviousLeaf(
path):undefined|object
Parameters
• path: bigint
Returns
undefined | object
Implementation of
LinkedLeafStore.getPreviousLeaf
Defined in
packages/common/src/trees/lmt/InMemoryLinkedLeafStore.ts:34
setLeaf()
setLeaf(
index,value):void
Parameters
• index: bigint
• value: LinkedLeaf
Returns
void