func (s *EntryState) Equivalent(other *EntryState) bool {
	switch {
	case s == nil:
		return other == nil || other.Type == EntryStateTypeRemove
	case other == nil:
		return s.Type == EntryStateTypeRemove
	default:
		return s.Equal(other)
	}
}
// Equivalent returns true if s is equivalent to other.
Equivalent returns true if s is equivalent to other.
// Equivalent returns true if s is equivalent to other .
func (s *EntryState) Equivalent(other *EntryState) bool {
	switch {
	case s == nil:
		return other == nil || other.Type == EntryStateTypeRemove
	case other == nil:
		return s.Type == EntryStateTypeRemove
	default:
		return s.Equal(other)
	}
}
func ( s * EntryState ) Equivalent ( other * EntryState ) bool { switch { case s == nil : return other == nil || other . Type == EntryStateTypeRemove case other == nil : return s . Type == EntryStateTypeRemove default : return s . Equal ( other ) } }
Equivalent returns true if s is equivalent to other.
Equivalent returns true if s is equivalent to other .