Options
All
  • Public
  • Public/Protected
  • All
Menu

Observable

Interface must be implemented in all Elements used in every "observer sets" e.g. HashSetObs, SimpleSetObs, SortedSetObs, SortedHashSetObs etc.

Those sets watch changes in every attached object and in case of any key-changes (e.g. changes which may affect elements uniqueness or order of elements in set set is being refreshed)

Hierarchy

Index

Methods

attach

detach

getObservers

hasObserver

  • hasObserver(observer: Observer): boolean

notify

  • notify(): void
  • Notify all observers about an event.

    Notify all collections, especially Sets including this element, then something has changed, so Set may need to control if elements are still unique and in the correct order

    Returns void

Legend

  • Constructor
  • Method
  • Accessor
  • Inherited constructor
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Static property
  • Static method
  • Method
  • Private property

Generated using TypeDoc