func (s *Int32Sync) GetList() []int32 {
	s.RLock()
	defer s.RUnlock()
	nums := []int32{}
	for i := range s.nodeMap {
		nums = append(nums, i)
	}
	return nums
}
GetList - Get set items
package set
import "sync"
type Int32Sync struct {
	nodeMap map[int32]struct{}
	sync.RWMutex
}
func NewInt32Sync(nums []int32) *Int32Sync {
	s := &Int32Sync{}
	for _, num := range nums {
		s.Add(num)
	}
	return s
}
func (s *Int32Sync) Add(num int32) *Int32Sync {
	s.Lock()
	defer s.Unlock()
	if s.nodeMap == nil {
		s.nodeMap = make(map[int32]struct{})
	}
	_, ok := s.nodeMap[num]
	if !ok {
		s.nodeMap[num] = struct{}{}
	}
	return s
}
func (s *Int32Sync) Clear() {
	s.Lock()
	defer s.Unlock()
	s.nodeMap = make(map[int32]struct{})
}
func (s *Int32Sync) Remove(num int32) bool {
	s.Lock()
	defer s.Unlock()
	_, ok := s.nodeMap[num]
	if ok {
		delete(s.nodeMap, num)
	}
	return ok
}
func (s *Int32Sync) Contains(num int32) bool {
	s.RLock()
	defer s.RUnlock()
	_, ok := s.nodeMap[num]
	return ok
}