FSharpx.Collections


IHeap<'T> Type

Instance members

Instance member Description

this.Count()

Full Usage: this.Count()

Returns: int
Modifiers: abstract

returns the count of elements

Returns: int

this.Head()

Full Usage: this.Head()

Returns: 'T
Modifiers: abstract

returns the min or max element

Returns: 'T

this.IsDescending

Full Usage: this.IsDescending

Returns: bool
Modifiers: abstract

returns true if the heap has max element at head

Returns: bool

this.IsEmpty

Full Usage: this.IsEmpty

Returns: bool
Modifiers: abstract

returns true if the heap has no elements

Returns: bool

this.Length()

Full Usage: this.Length()

Returns: int
Modifiers: abstract

returns the count of elements

Returns: int

this.TryGetHead()

Full Usage: this.TryGetHead()

Returns: 'T option
Modifiers: abstract

returns option first min or max element

Returns: 'T option