Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- equalsButDifferent: anEntry
- "test the equality between two DIFFERENT entries"
- ( self == anEntry) ifTrue: [ ^false ].
- ((key = anEntry key) and: [ (type = anEntry type) ]) ifFalse: [ ^false ].
- (self size = anEntry size) ifFalse: [ ^false ].
- fields do:
- [:each | ((anEntry at: each key) rawValue = each rawValue)
- ifFalse:
- [ ^false ]].
- ^true.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement