Sparse set based map with generational index as key.

Type Parameters

  • V

  • I extends number = number

Hierarchy

  • SyncMapBatchAdapter<I, V>
    • SparseSetMap

Implements

Constructors

  • Type Parameters

    • V

    • I extends number = number

    Returns SparseSetMap<V, I>

Properties

dense: V[] = []
ids: I[] = []
sparse: number[] = []

Accessors

Methods

  • Parameters

    • callback: ((value, id, self) => void)
        • (value, id, self): void
        • Parameters

          Returns void

    • Optional thisArg: unknown

    Returns void

Generated using TypeDoc