Header menu logo FSharp.Data.Adaptive

ChangeableHashSet<'T> Type

Changeable adaptive set that allows mutation by user-code and implements aset.

Constructors

Constructor Description

ChangeableHashSet(arg1)

Full Usage: ChangeableHashSet(arg1)

Parameters:
Returns: cset<'T>

Creates a new cset containing all the given elements.

arg0 : HashSet<'T>
Returns: cset<'T>

ChangeableHashSet(arg1)

Full Usage: ChangeableHashSet(arg1)

Parameters:
    arg0 : 'T seq

Returns: cset<'T>

Creates a new cset containing all the given elements.

arg0 : 'T seq
Returns: cset<'T>

ChangeableHashSet()

Full Usage: ChangeableHashSet()

Returns: cset<'T>

Creates a new empty cset.

Returns: cset<'T>

Instance members

Instance member Description

this.Add

Full Usage: this.Add

Parameters:
    value : 'T

Returns: bool

Adds a value and returns whether the element was new.

value : 'T
Returns: bool

this.Clear

Full Usage: this.Clear

Clears the set.

this.Contains

Full Usage: this.Contains

Parameters:
    value : 'T

Returns: bool

Checks whether the given value is contained.

value : 'T
Returns: bool

this.Count

Full Usage: this.Count

Returns: int

The number of entries currently in the set.

Returns: int

this.ExceptWith

Full Usage: this.ExceptWith

Parameters:
    other : 'T seq

Removes all the given elements from the set.

other : 'T seq

this.GetEnumerator

Full Usage: this.GetEnumerator

Returns: HashSetEnumerator<'T>
Returns: HashSetEnumerator<'T>

this.GetReader

Full Usage: this.GetReader

Returns: IHashSetReader<'T>

Creates an adaptive reader for the set.

Returns: IHashSetReader<'T>

this.IntersectWith

Full Usage: this.IntersectWith

Parameters:
    other : 'T seq

Removes all elements from the set that are not also contained in other.

other : 'T seq

this.IsEmpty

Full Usage: this.IsEmpty

Returns: bool

Is the set currently empty?

Returns: bool

this.Perform

Full Usage: this.Perform

Parameters:

Performs the given Operations on the Set.

operations : HashSetDelta<'T>

this.Remove

Full Usage: this.Remove

Parameters:
    value : 'T

Returns: bool

Removes a value and returns whether the element was deleted.

value : 'T
Returns: bool

this.UnionWith

Full Usage: this.UnionWith

Parameters:
    other : 'T seq

Adds all the given values to the set.

other : 'T seq

this.UpdateTo

Full Usage: this.UpdateTo

Parameters:
Returns: bool

Sets the current state as HashSet.

arg0 : HashSet<'T>
Returns: bool

this.Value

Full Usage: this.Value

Gets or sets the current state as HashSet.

Type something to start searching.