Skip to content

VertexIdSet

A set specifically meant for vertex IDs. A normal set will not de-duplicate multiple instances of vertex IDs pointing to the same location. This one does.

T extends KnownVertexId = KnownVertexId

new VertexIdSet<T>(iterable?): VertexIdSet<T>;

Iterable<T, any, any>

VertexIdSet<T>

get size(): number;

number

iterator: IterableIterator<T>;

IterableIterator<T>


add(vertexId): this;

T

this


clear(): void;

void


delete(vertexId): boolean;

T

boolean


has(vertexId): boolean;

T

boolean


hasWorkbook(workbookKey): boolean;

number

boolean


values(): IterableIterator<T>;

IterableIterator<T>


workbookKeys(): number[];

number[]