A type of elements of delta set.
Private Readonly #addedPrivate Readonly #removedReadonly [toReadonly sizethe number of (unique) elements in Set.
Static Readonly [species]Appends a new element with a specified value to the end of this delta set. Unless the set contains this element already.
Records element addition and forgets its removal unless the set contains it already.
The value of the element to add.
this delta set.
Removes the specified element from this delta set.
Records element removal and forgets its addition if removal succeed.
The value of the element to remove.
true if element removed successfully; or false if this set did not contain the element.
Applies changes to this delta set.
First removes elements to remove. Then appends elements to add.
Records all changes made.
An iterable of elements to add.
An iterable of elements to remove.
this delta set.
Replays the changes made to this set in target receiver.
A receiver of changes delta. E.g. another Set.
this delta set.
Generated using TypeDoc
A
Setimplementation that keeps a delta of changes made to it.