Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set interface {
// Add element to set
Add(e interface{}) bool
// Remove remove element to set
Remove(e interface{})
// Contains Judge whether the set contains the specified elements, if anyone does not contain, return false, otherwise return true
Contains(e ...interface{}) bool
// Clear remove all from set
Clear()
// Len return the number of element
Len() int
}
Set defined set func, Set is used to store a collection of unique elements.
Click to show internal directories.
Click to hide internal directories.