Constructors
constructor
- new LazySet<T>(iterable?: Iterable<T>): LazySet<T>
Type parameters
Parameters
Optional iterable: Iterable<T>
Accessors
size
Returns number
Methods
[iterator]
- [iterator](): IterableIterator<T>
Returns IterableIterator<T>
add
Parameters
addAll
Parameters
clear
Returns void
delete
- delete(value: T): boolean
Parameters
Returns boolean
entries
- entries(): IterableIterator<[T, T]>
Returns IterableIterator<[T, T]>
forEach
- forEach(callbackFn: (arg0: T, arg1: T, arg2: Set<T>) => void, thisArg?: any): void
Parameters
callbackFn: (arg0: T, arg1: T, arg2: Set<T>) => void
- (arg0: T, arg1: T, arg2: Set<T>): void
Parameters
arg0: T
arg1: T
arg2: Set<T>
Returns void
Optional thisArg: any
Returns void
has
Parameters
Returns boolean
keys
- keys(): IterableIterator<T>
Returns IterableIterator<T>
serialize
Parameters
Returns void
values
- values(): IterableIterator<T>
Returns IterableIterator<T>
Static deserialize
Type parameters
Parameters