Documentation
¶
Index ¶
- type Iterator
- type OpFunc
- type Set
- func (s *Set[T]) Add(val T)
- func (s *Set[T]) Begin() *Iterator[T]
- func (s *Set[T]) Clear()
- func (s *Set[T]) Delete(val T)
- func (s *Set[T]) Diff(set *Set[T]) *Set[T]
- func (s *Set[T]) Erase(iter *Iterator[T])
- func (s *Set[T]) Exist(val T) bool
- func (s *Set[T]) Find(val T) *Iterator[T]
- func (s *Set[T]) Insert(val T)
- func (s *Set[T]) Intersect(set *Set[T]) *Set[T]
- func (s *Set[T]) IsLock() bool
- func (s *Set[T]) SetLock()
- func (s *Set[T]) Size() int
- func (s *Set[T]) UnSetLock()
- func (s *Set[T]) Union(set *Set[T]) *Set[T]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iterator ¶
type Iterator[T any] struct { // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.