func (a *List) Equals(b *List) bool {
	if a == nil || b == nil {
		return a == nil && b == nil
	}
	if !a.ElementType.Equals(&b.ElementType) {
		return false
	}
	if a.ElementRelationship != b.ElementRelationship {
		return false
	}
	if len(a.Keys) != len(b.Keys) {
		return false
	}
	for i := range a.Keys {
		if a.Keys[i] != b.Keys[i] {
			return false
		}
	}
	return true
}
// Equals returns true iff the two Lists are equal.
Equals returns true iff the two Lists are equal.
// Equals returns true iff the two Lists are equal .
func (a *List) Equals(b *List) bool {
	if a == nil || b == nil {
		return a == nil && b == nil
	}
	if !a.ElementType.Equals(&b.ElementType) {
		return false
	}
	if a.ElementRelationship != b.ElementRelationship {
		return false
	}
	if len(a.Keys) != len(b.Keys) {
		return false
	}
	for i := range a.Keys {
		if a.Keys[i] != b.Keys[i] {
			return false
		}
	}
	return true
}
func ( a * List ) Equals ( b * List ) bool { if a == nil || b == nil { return a == nil && b == nil } if ! a . ElementType . Equals ( & b . ElementType ) { return false } if a . ElementRelationship != b . ElementRelationship { return false } if len ( a . Keys ) != len ( b . Keys ) { return false } for i := range a . Keys { if a . Keys [ i ] != b . Keys [ i ] { return false } } return true }
Equals returns true iff the two Lists are equal.
Equals returns true iff the two Lists are equal .