nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / SetAPI

SetAPI

Full name Microsoft.VisualBasic.ComponentModel.DataStructures.SetAPI Assembly Microsoft.VisualBasic.Runtime Members 5

01 Syntax

Microsoft.VisualBasic.ComponentModel.DataStructures.SetAPI

02 Methods

NameOverloadsSummary
Intersection 2 Performs an intersection of two sets.(求交集,这个函数总是会挑选出s1集合之中的元素的)
VennExclusiveSet 1
Intersection 1
Contains 1

03 Members

method Intersection #
Intersection``1(IEnumerable(Of ``0), IEnumerable(Of ``0), GetUid)

Performs an intersection of two sets.(求交集,这个函数总是会挑选出s1集合之中的元素的)

Parameters
NameTypeDescription
s1IEnumerable(Of ``0)

Any set.

s2IEnumerable(Of ``0)

Any set.

Returns

A new Set object that contains the members that were common to both of the input sets.

method Intersection overload 2 #
Intersection``1(IEnumerable(Of ``0), IEnumerable(Of ``0), IEquals)

Performs an intersection of two sets.(求交集)

Parameters
NameTypeDescription
s1IEnumerable(Of ``0)

Any set.

s2IEnumerable(Of ``0)

Any set.

Returns

A new Set object that contains the members that were common to both of the input sets.

method VennExclusiveSet #
VennExclusiveSet(Dictionary(Of String, String()), String())
Parameters
NameTypeDescription
groupsDictionary(Of String, String())

-

commonIdsString()

common ids in all groups, if you do not need this parameter, you can set it to Nothing.

Returns

exclusive ids in each groups

method Intersection #
Intersection(IEnumerable(Of T), IEnumerable(Of T), GenericLambda(Of T))
method Contains #
Contains(IEnumerable(Of T), T, GenericLambda(Of T))