func (s *ContentSet) Clear() ContentSet {
	s.mu.Lock()
	defer s.mu.Unlock()

	old := s.ids
	s.ids = nil

	return ContentSet{ids: old}
}
// Clear removes all elements from the set.
Clear removes all elements from the set.
// Clear removes all elements from the set .
func (s *ContentSet) Clear() ContentSet {
	s.mu.Lock()
	defer s.mu.Unlock()
	old := s.ids
	s.ids = nil
	return ContentSet{ids: old}
}
func ( s * ContentSet ) Clear ( ) ContentSet { s . mu . Lock ( ) defer s . mu . Unlock ( ) old := s . ids s . ids = nil return ContentSet { ids : old } }
Clear removes all elements from the set.
Clear removes all elements from the set .