mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-18 00:22:41 +08:00
9 lines
121 B
Go
9 lines
121 B
Go
package sets
|
|
|
|
type Set[T comparable] interface {
|
|
Add(values ...T)
|
|
Remove(v T)
|
|
Contain(value T) bool
|
|
IsEmpty() bool
|
|
}
|