April From the pages Columns
Hashing and cloning
Mark takes on hashCode
, which are far too easy to get wrong. The carrot for writing hashCode
is that whenever your objects will be in hash-based collections such as Hashtable
, or Set
, a good implementation of hashCode
will give you an excellent payback in performance!
Solutions for implementing dependable clone methods
Steve presents workarounds that will enable you to implement dependable clone methods even in the presence of Java's most cloning-hostile language features. The source of this contention originates in Object.clone.
Patterns in Java
Calculating and storing amounts is a typical requirement of software. Value objects represent the simple, granular pieces of information you find in a system: strings, dates, money, dimensions, colors, etc. Kevlin spotlights each pattern in a brief problem solution format to reveal more detail.
Madison Avenue Java
The State of the Java
Working for Internet start-ups for the past few years, it's been a long and interesting process watching our industries grow up. I have to admit, I'm not altogether positive on the maturation. It was fun being the insurrectionist with a beef. This year's State of the Java reflects this growth and change.