FSharpx.Collections


IQueue<'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 first element

Returns: 'T

this.IsEmpty

Full Usage: this.IsEmpty

Returns: bool
Modifiers: abstract

returns true if the queue has no elements

Returns: bool

this.Length()

Full Usage: this.Length()

Returns: int
Modifiers: abstract

returns the count of elements

Returns: int

this.Snoc(arg1)

Full Usage: this.Snoc(arg1)

Parameters:
    arg0 : 'T

Returns: IQueue<'T>
Modifiers: abstract

returns a new queue with the element added to the end

arg0 : 'T
Returns: IQueue<'T>

this.Tail

Full Usage: this.Tail

Returns: IQueue<'T>
Modifiers: abstract

returns a new queue of the elements trailing the first element

Returns: IQueue<'T>

this.TryGetHead

Full Usage: this.TryGetHead

Returns: 'T option
Modifiers: abstract

returns option first element

Returns: 'T option

this.TryGetTail

Full Usage: this.TryGetTail

Returns: IQueue<'T> option
Modifiers: abstract

returns option queue of the elements trailing the first element

Returns: IQueue<'T> option

this.TryUncons

Full Usage: this.TryUncons

Returns: ('T * IQueue<'T>) option
Modifiers: abstract
Returns: ('T * IQueue<'T>) option

this.Uncons

Full Usage: this.Uncons

Returns: 'T * IQueue<'T>
Modifiers: abstract

returns the first element and tail

Returns: 'T * IQueue<'T>