Like Set but with an addAll method to eventually add items from another iterable. Access methods make sure that all delayed operations are executed. Iteration methods deopts to normal Set performance until clear is called again (because of the chance of modifications during iteration).
new LazySet(iterable?): voiditerable{Iterable} init iterable - Returns: {LazySet
}
Attributes
size:
<number>Like Set but with an addAll method to eventually add items from another iterable.
Access methods make sure that all delayed operations are executed.
Iteration methods deopts to normal Set performance until clear is called again (because of the chance of modifications during iteration).
Returns:
{SetIterator
}
webpack.util.LazySet.add(item): voiditem{T} an item- Returns: {LazySet
} itself
webpack.util.LazySet.addAll(iterable): voiditerable{LazySet|Iterable<T, any, any>} a immutable iterable or another immutable LazySet which will eventually be merged into the Set - Returns: {LazySet
} itself
webpack.util.LazySet.clear(): voidReturns:
{void}
Like Set but with an addAll method to eventually add items from another iterable. Access methods make sure that all delayed operations are executed. Iteration methods deopts to normal Set performance until clear is called again (because of the chance of modifications during iteration).
webpack.util.LazySet.delete(value): voidvalue{T} an item- Returns:
<boolean>true, if the value was in the Set before
webpack.util.LazySet.entries(): SetIterator<Tuple<T, T>>Returns:
{SetIterator<Tuple<T, T>>} entries
webpack.util.LazySet.forEach(callbackFn, thisArg): voidAttributes
callbackFn:
<object>function called for each entry
thisArg:
{K} this argument for the callbackFn
Returns:
{void}
webpack.util.LazySet.has(item): voiditem{T} an item- Returns:
<boolean>true, when the item is in the Set
webpack.util.LazySet.keys(): SetIterator<T>Returns:
{SetIterator
} keys
webpack.util.LazySet.serialize(__namedParameters): void__namedParameters{ObjectSerializerContext} context- Returns: {void}
webpack.util.LazySet.values(): SetIterator<T>Returns:
{SetIterator
} values
webpack.util.LazySet.deserialize(__namedParameters): void__namedParameters{ObjectDeserializerContext} context- Returns: {LazySet
} lazy set