fsprojects/FSharpx.Collections


IHeap<'T>

Namespace: FSharpx.Collections
Parent Module: Interfaces

Instance members

Instance memberDescription
Count()
Signature: unit -> int
Modifiers: abstract

returns the count of elememts

Head()
Signature: unit -> 'T
Modifiers: abstract

returns the min or max element

IsDescending
Signature: bool
Modifiers: abstract

returns true if the heap has max element at head

CompiledName: get_IsDescending

IsEmpty
Signature: bool
Modifiers: abstract

returns true if the heap has no elements

CompiledName: get_IsEmpty

Length()
Signature: unit -> int
Modifiers: abstract

returns the count of elememts

TryGetHead()
Signature: unit -> 'T option
Modifiers: abstract

returns option first min or max element

Fork me on GitHub