FSharpx.Collections


Set<'T, 'ComparerTag> Type

Constructors

Constructor Description

Set(comparer, tree)

Full Usage: Set(comparer, tree)

Parameters:
Returns: Set<'T, 'ComparerTag>
comparer : IComparer<'T>
tree : SetTree<'T>
Returns: Set<'T, 'ComparerTag>

Instance members

Instance member Description

this.Add(x)

Full Usage: this.Add(x)

Parameters:
    x : 'T

Returns: Set<'T, 'ComparerTag>
x : 'T
Returns: Set<'T, 'ComparerTag>

this.Choose

Full Usage: this.Choose

Returns: 'T
Returns: 'T

this.Comparer

Full Usage: this.Comparer

Returns: 'ComparerTag
Returns: 'ComparerTag

this.ComparerUntyped

Full Usage: this.ComparerUntyped

Returns: IComparer<'T>
Returns: IComparer<'T>

this.ComputeHashCode()

Full Usage: this.ComputeHashCode()

Returns: int
Returns: int

this.Contains(x)

Full Usage: this.Contains(x)

Parameters:
    x : 'T

Returns: bool
x : 'T
Returns: bool

this.Exists(f)

Full Usage: this.Exists(f)

Parameters:
    f : 'T -> bool

Returns: bool
f : 'T -> bool
Returns: bool

this.Filter(f)

Full Usage: this.Filter(f)

Parameters:
    f : 'T -> bool

Returns: Set<'T, 'ComparerTag>
f : 'T -> bool
Returns: Set<'T, 'ComparerTag>

this.Fold(f) (x)

Full Usage: this.Fold(f) (x)

Parameters:
    f : 'T -> 'a -> 'a
    x : 'a

Returns: 'a
f : 'T -> 'a -> 'a
x : 'a
Returns: 'a

this.ForAll(f)

Full Usage: this.ForAll(f)

Parameters:
    f : 'T -> bool

Returns: bool
f : 'T -> bool
Returns: bool

this.IsEmpty

Full Usage: this.IsEmpty

Returns: bool
Returns: bool

this.IsSubsetOf(y)

Full Usage: this.IsSubsetOf(y)

Parameters:
    y : Set<'T, 'ComparerTag>

Returns: bool
y : Set<'T, 'ComparerTag>
Returns: bool

this.IsSupersetOf(y)

Full Usage: this.IsSupersetOf(y)

Parameters:
    y : Set<'T, 'ComparerTag>

Returns: bool
y : Set<'T, 'ComparerTag>
Returns: bool

this.Iterate(x)

Full Usage: this.Iterate(x)

Parameters:
    x : 'T -> unit

x : 'T -> unit

this.MaximumElement

Full Usage: this.MaximumElement

Returns: 'T
Returns: 'T

this.MinimumElement

Full Usage: this.MinimumElement

Returns: 'T
Returns: 'T

this.Partition(f)

Full Usage: this.Partition(f)

Parameters:
    f : 'T -> bool

Returns: Set<'T, 'ComparerTag> * Set<'T, 'ComparerTag>
f : 'T -> bool
Returns: Set<'T, 'ComparerTag> * Set<'T, 'ComparerTag>

this.Remove(x)

Full Usage: this.Remove(x)

Parameters:
    x : 'T

Returns: Set<'T, 'ComparerTag>
x : 'T
Returns: Set<'T, 'ComparerTag>

this.ToArray()

Full Usage: this.ToArray()

Returns: 'T[]
Returns: 'T[]

this.ToList()

Full Usage: this.ToList()

Returns: 'T list
Returns: 'T list

this.Tree

Full Usage: this.Tree

Returns: SetTree<'T>
Returns: SetTree<'T>

Static members

Static member Description

a + b

Full Usage: a + b

Parameters:
    a : Set<'T, 'ComparerTag>
    b : Set<'T, 'ComparerTag>

Returns: Set<'T, 'ComparerTag>
a : Set<'T, 'ComparerTag>
b : Set<'T, 'ComparerTag>
Returns: Set<'T, 'ComparerTag>

a - b

Full Usage: a - b

Parameters:
    a : Set<'T, 'ComparerTag>
    b : Set<'T, 'ComparerTag>

Returns: Set<'T, 'ComparerTag>
a : Set<'T, 'ComparerTag>
b : Set<'T, 'ComparerTag>
Returns: Set<'T, 'ComparerTag>

Set.Compare(a, b)

Full Usage: Set.Compare(a, b)

Parameters:
    a : Set<'T, 'ComparerTag>
    b : Set<'T, 'ComparerTag>

Returns: int
a : Set<'T, 'ComparerTag>
b : Set<'T, 'ComparerTag>
Returns: int

Set.Create(comparer, l)

Full Usage: Set.Create(comparer, l)

Parameters:
    comparer : 'ComparerTag
    l : seq<'T>

Returns: Set<'T, 'ComparerTag>
comparer : 'ComparerTag
l : seq<'T>
Returns: Set<'T, 'ComparerTag>

Set.Difference(a, b)

Full Usage: Set.Difference(a, b)

Parameters:
    a : Set<'T, 'ComparerTag>
    b : Set<'T, 'ComparerTag>

Returns: Set<'T, 'ComparerTag>
a : Set<'T, 'ComparerTag>
b : Set<'T, 'ComparerTag>
Returns: Set<'T, 'ComparerTag>

Set.Empty(comparer)

Full Usage: Set.Empty(comparer)

Parameters:
    comparer : 'ComparerTag

Returns: Set<'T, 'ComparerTag>
comparer : 'ComparerTag
Returns: Set<'T, 'ComparerTag>

Set.Equality(a, b)

Full Usage: Set.Equality(a, b)

Parameters:
    a : Set<'T, 'ComparerTag>
    b : Set<'T, 'ComparerTag>

Returns: bool
a : Set<'T, 'ComparerTag>
b : Set<'T, 'ComparerTag>
Returns: bool

Set.Intersection(a, b)

Full Usage: Set.Intersection(a, b)

Parameters:
    a : Set<'T, 'ComparerTag>
    b : Set<'T, 'ComparerTag>

Returns: Set<'T, 'ComparerTag>
a : Set<'T, 'ComparerTag>
b : Set<'T, 'ComparerTag>
Returns: Set<'T, 'ComparerTag>

Set.Singleton(comparer, x)

Full Usage: Set.Singleton(comparer, x)

Parameters:
    comparer : 'ComparerTag
    x : 'T

Returns: Set<'T, 'ComparerTag>
comparer : 'ComparerTag
x : 'T
Returns: Set<'T, 'ComparerTag>

Set.Union(a, b)

Full Usage: Set.Union(a, b)

Parameters:
    a : Set<'T, 'ComparerTag>
    b : Set<'T, 'ComparerTag>

Returns: Set<'T, 'ComparerTag>
a : Set<'T, 'ComparerTag>
b : Set<'T, 'ComparerTag>
Returns: Set<'T, 'ComparerTag>