func (s *PathElementSet) Equals(s2 *PathElementSet) bool {
	if len(s.members) != len(s2.members) {
		return false
	}
	for k := range s.members {
		if !s.members[k].Equals(s2.members[k]) {
			return false
		}
	}
	return true
}
// Equals returns true if s and s2 have exactly the same members.
Equals returns true if s and s2 have exactly the same members.
// Equals returns true if s and s2 have exactly the same members .
func (s *PathElementSet) Equals(s2 *PathElementSet) bool {
	if len(s.members) != len(s2.members) {
		return false
	}
	for k := range s.members {
		if !s.members[k].Equals(s2.members[k]) {
			return false
		}
	}
	return true
}
func ( s * PathElementSet ) Equals ( s2 * PathElementSet ) bool { if len ( s . members ) != len ( s2 . members ) { return false } for k := range s . members { if ! s . members [ k ] . Equals ( s2 . members [ k ] ) { return false } } return true }
Equals returns true if s and s2 have exactly the same members.
Equals returns true if s and s2 have exactly the same members .