Equality and Hashing for (almost) Free: Generating Implementations from Abstraction Functions
In an object-oriented language such as Java, every class requires implementations of two special methods, one for determining equality and one for computing hash codes. Although the specification of these methods is usually straightforward, they can be hard to code (due to subclassing, delegation, c...
Main Authors: | , , , , , |
---|---|
Other Authors: | , |
Format: | Article |
Language: | English |
Published: |
Institute of Electrical and Electronics Engineers,
2010-02-11T13:29:09Z.
|
Subjects: | |
Online Access: | Get fulltext |