Header menu logo FSharp.Data.Adaptive

IndexListDelta<'T> Type

Represents the difference of two IndexLists.

Instance members

Instance member Description

this.Add

Full Usage: this.Add

Parameters:
Returns: IndexListDelta<'T>

Inserts an operation.

index : Index
op : ElementOperation<'T>
Returns: IndexListDelta<'T>

this.Choose

Full Usage: this.Choose

Parameters:
Returns: IndexListDelta<'T2>

Applies the given mapping function to all deltas in the list and returns a new list containing the 'Some'-results.

mapping : Index -> ElementOperation<'T> -> ElementOperation<'T2> option
Returns: IndexListDelta<'T2>

this.Collect

Full Usage: this.Collect

Parameters:
Returns: IndexListDelta<'T2>

Applies the mapping function to all elements and combines the resulting lists.

mapping : Index -> ElementOperation<'T> -> IndexListDelta<'T2>
Returns: IndexListDelta<'T2>

this.Combine

Full Usage: this.Combine

Parameters:
Returns: IndexListDelta<'T>

Combines to IndexListDeltas to one.

r : IndexListDelta<'T>
Returns: IndexListDelta<'T>

this.Count

Full Usage: this.Count

Returns: int

The number of deltas in the list.

Returns: int

this.Filter

Full Usage: this.Filter

Parameters:
Returns: IndexListDelta<'T>

Filters the delta list using the given predicate.

mapping : Index -> ElementOperation<'T> -> bool
Returns: IndexListDelta<'T>

this.GetEnumerator

Full Usage: this.GetEnumerator

Returns: IndexListDeltaEnumerator<'T>
Returns: IndexListDeltaEnumerator<'T>

this.IsEmpty

Full Usage: this.IsEmpty

Returns: bool

Is the list empty?

Returns: bool

this.Map

Full Usage: this.Map

Parameters:
Returns: IndexListDelta<'T2>

Applies the given mapping function to all deltas in the list and returns a new list containing the results.

mapping : Index -> ElementOperation<'T> -> ElementOperation<'T2>
Returns: IndexListDelta<'T2>

this.MapMonotonic

Full Usage: this.MapMonotonic

Parameters:
Returns: IndexListDelta<'T2>

Applies the given mapping function to all deltas in the list and returns a new list containing the 'Some'-results. Note that the indices need to be monotonic.

mapping : Index -> ElementOperation<'T> -> Index * ElementOperation<'T2>
Returns: IndexListDelta<'T2>

this.Remove

Full Usage: this.Remove

Parameters:
Returns: IndexListDelta<'T>

Removes the operation associated to index. (if any)

index : Index
Returns: IndexListDelta<'T>

this.ToArray

Full Usage: this.ToArray

Returns: (Index * ElementOperation<'T>)[]

Returns all Index/Operation tuples from the list.

Returns: (Index * ElementOperation<'T>)[]

this.ToList

Full Usage: this.ToList

Returns: (Index * ElementOperation<'T>) list

Returns all Index/Operation tuples from the list.

Returns: (Index * ElementOperation<'T>) list

this.ToSeq

Full Usage: this.ToSeq

Returns: (Index * ElementOperation<'T>) seq

Returns all Index/Operation tuples from the list.

Returns: (Index * ElementOperation<'T>) seq

Static members

Static member Description

IndexListDelta.Empty

Full Usage: IndexListDelta.Empty

Returns: IndexListDelta<'T>

The empty delta.

Returns: IndexListDelta<'T>

Type something to start searching.