package
Version:
v0.0.0-...-a261c41
Opens a new window with list of versions in this module.
Published: Aug 29, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
HashSet 是一个线程安全的哈希集合
Contains 检查HashSet中是否包含指定的元素
func (set *HashSet[T]) Iterator() <-chan T
Iterator 返回一个只读通道,用于遍历HashSet中的元素
func (set *HashSet[T]) Remove(key T)
Remove 从HashSet中移除指定的元素
Source Files
¶
Click to show internal directories.
Click to hide internal directories.