Options
All
  • Public
  • Public/Protected
  • All
Menu

A vector class that implements a persistent array.

map each element to its index in another vector

{
  hash_of_value1: index_of_value1,
  hash_of_value2: index_of_value2,
  hash_of_value3: index_of_value3,
}

[
 value1,
 value2,
 value3
]

Type parameters

  • T

Hierarchy

  • PersistentSet

Index

Constructors

Accessors

Methods

Constructors

constructor

Accessors

size

  • get size(): i32

Methods

add

  • add(item: T): void

clear

  • clear(): void

delete

  • delete(item: T): void

has

  • has(item: T): bool

values

  • values(): T[]

Generated using TypeDoc