MCPcopy Index your code
hub / github.com/TheAlgorithms/Go / GetItems

Method GetItems

structure/set/set.go:26–26  ·  view source on GitHub ↗

GetItems: gives the array( []T ) of elements of the set.

()

Source from the content-addressed store, hash-verified

24 Len() int
25 // GetItems: gives the array( []T ) of elements of the set.
26 GetItems() []T
27 // In: checks whether item is present in set or not.
28 In(item T) bool
29 // IsSubsetOf: checks whether set is subset of set2 or not.

Callers 10

UnionMethod · 0.65
IntersectionMethod · 0.65
SymmetricDifferenceMethod · 0.65
TestNewFunction · 0.65
TestAddFunction · 0.65
TestDeleteFunction · 0.65
TestUnionFunction · 0.65
TestIntersectionFunction · 0.65
TestDifferenceFunction · 0.65
TestSymmetricDifferenceFunction · 0.65

Calls

no outgoing calls

Tested by 7

TestNewFunction · 0.52
TestAddFunction · 0.52
TestDeleteFunction · 0.52
TestUnionFunction · 0.52
TestIntersectionFunction · 0.52
TestDifferenceFunction · 0.52
TestSymmetricDifferenceFunction · 0.52