Header menu logo FSharp.Data.Adaptive

SetOperation<'T> Type

Represents a set operation (Add/Remove) using a reference count. Note that internally SetOperations may have reference counts > 1 and < -1.

Constructors

Constructor Description

SetOperation(value, cnt)

Full Usage: SetOperation(value, cnt)

Parameters:
    value : 'T
    cnt : int

Returns: SetOperation<'T>
value : 'T
cnt : int
Returns: SetOperation<'T>

Instance members

Instance member Description

this.Count

Full Usage: this.Count

Returns: int

The reference count delta.

Returns: int

this.Inverse

Full Usage: this.Inverse

Returns: SetOperation<'T>

The inverse SetOperation to this one.

Returns: SetOperation<'T>

this.Value

Full Usage: this.Value

Returns: 'T

The added/removed value

Returns: 'T

Static members

Static member Description

SetOperation.Add(value)

Full Usage: SetOperation.Add(value)

Parameters:
    value : 'T

Returns: SetOperation<'T>
value : 'T
Returns: SetOperation<'T>

SetOperation.Rem(value)

Full Usage: SetOperation.Rem(value)

Parameters:
    value : 'T

Returns: SetOperation<'T>
value : 'T
Returns: SetOperation<'T>

Type something to start searching.