Prashant Kumar Rai

15%
Flag icon
If a class is immutable and the cost of computing the hash code is significant, you might consider caching the hash code in the object rather than recalculating it each time it is requested.
Effective Java
Rate this book
Clear rating
Open Preview