Reflection wants to break into all code; encapsulation wants to give modules a safe space. How can this stand off be resolved?
In the second issue of SitePoint’s Java Channel Newsletter I wonder why Java 9 takes so long.
Java’s future is full of cool advances: data classes, value types, generics over primitives, pattern matching, etc. Let’s peek into Java’s future!
In the first issue of SitePoint’s Java Channel Newsletter I babble about community and conferences.
I’m sure you’ve heard this and that about Java 9: modularity, collection literals (or not?), private methods on interfaces, etc. But if you really want to know all that’s coming, you need this ultimate guide.
Hand in hand with a class’s definition of equality goes a matching implementation of hashCode. Again, there are a couple of things to be considered to get it right. Let’s check ’em out!
A fundamental aspect of any Java class is its definition of equality. It is determined by a class’s equals method and there are a couple of things to be considered for a correct implementation. Let’s check ’em out so we get it right!