package
Version:
v0.0.0-...-b1b21d8
Opens a new window with list of versions in this module.
Published: Oct 17, 2023
License: LGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Documentation
¶
func (obj *Set[T]) Add(value T)
添加元素
func (obj *Set[T]) Array() []T
返回数组
func (obj *Set[T]) Del(value T) bool
删除元素
func (obj *Set[T]) Has(value T) bool
判断元素是否存在
func (obj *Set[T]) Map() map[T]struct{}
func (obj *Set[T]) ReSet()
重置
Source Files
¶
Click to show internal directories.
Click to hide internal directories.