Lines Matching defs:Set
50 type Set struct { struct
51 F SchemaSetFunc
53 m map[string]interface{}
54 once sync.Once
69 func CopySet(otherSet *Set) *Set {
74 func (s *Set) Add(item interface{}) {
79 func (s *Set) Remove(item interface{}) {
84 func (s *Set) Contains(item interface{}) bool {
90 func (s *Set) Len() int {
98 func (s *Set) List() []interface{} {
109 func (s *Set) Difference(other *Set) *Set {
124 func (s *Set) Intersection(other *Set) *Set {
139 func (s *Set) Union(other *Set) *Set {
153 func (s *Set) Equal(raw interface{}) bool {
165 func (s *Set) HashEqual(raw interface{}) bool {
187 func (s *Set) GoString() string {
191 func (s *Set) init() {
195 func (s *Set) add(item interface{}, computed bool) string {
220 func (s *Set) hash(item interface{}) string {
229 func (s *Set) remove(item interface{}) string {
238 func (s *Set) index(item interface{}) int {
242 func (s *Set) listCode() []string {