Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractReferenceCollection<K, V> Abstract

Type Parameters

Hierarchy

Implements

Index

Constructors

Properties

_keys: Map<string, K> = ...
_values: Map<string, V> = ...
onDidCreate: Event<V> = ...
onDidCreateEmitter: Emitter<V> = ...
onWillDispose: Event<V> = ...
onWillDisposeEmitter: Emitter<V> = ...
references: Map<string, DisposableCollection> = ...
toDispose: DisposableCollection = ...

Methods

  • clear(): void
  • dispose(): void
  • doAcquire(key: string, object: V): Reference<V>
  • get(args: K): undefined | V
  • has(args: K): boolean
  • keys(): K[]
  • toKey(args: K): string
  • values(): V[]