MCPcopy
hub / github.com/betty200744/ultimate-go / Set

Interface Set

algorithms/data-structures/sets/sets.go:9–18  ·  view source on GitHub ↗

Reference: https://en.wikipedia.org/wiki/Set_%28abstract_data_type%29 数据不可重复, 数据无index A list is a data structure that stores values and may have repeated values

Source from the content-addressed store, hash-verified

7// A list is a data structure that stores values and may have repeated values
8
9type Set interface {
10 Add(elements ...interface{})
11 Remove(elements ...interface{})
12 Contains(elements ...interface{}) bool
13 containers.Container
14 // Empty() bool
15 // Size() int
16 // Clear()
17 // Values() []interface{}
18}

Callers 12

mainFunction · 0.65
mainFunction · 0.65
BuildStringFromOptionsFunction · 0.65
Test_WaitGroupFunction · 0.65
Test_Mutex_2Function · 0.65
TimeOperatorFunction · 0.65
Test_Timer_RetryFunction · 0.65
TestTimeoutByRetryFunction · 0.65
RemoveEmptyDirFunction · 0.65
TestAllFunction · 0.65
StringsReaderFunction · 0.65
NewFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected