-
Core Java
JDK 12 News (13 September 2018)
With General Availability of JDK 11 planned for later this month (25 September 2018), it’s a good time to start…
Read More » -
Core Java
Arrays.hashCode(Object[]) versus Objects.hash(Object…)
Since JDK 1.5, the Arrays class has offered overloaded static methods with the name “hashCode“. Most of the overloaded methods…
Read More » -
Core Java
JEP 342: The JVM and Spectre
JEP 342 (“Limit Speculative Execution”) has transitioned from “Draft” state to “Candidate” state, but it has not yet been targeted…
Read More » -
Core Java
JDK 12 Switch Expression Encountering Unanticipated Enum Value
As I wrote about in my post “Playing with JDK 12’s Switch Expressions“, the JDK 12 Early Access Builds have…
Read More » -
Core Java
JDK 12: Switch Statements/Expressions in Action
My last post “Playing with JDK 12’s Switch Expressions” talked about use of the JDK 12 Early Access Builds to…
Read More » -
Core Java
Playing with JDK 12’s Switch Expressions
In the blog post “JDK Language Feature Preview in Action: Switch Expressions,” I discussed how JEP 325 [“Switch Expressions (Preview)”]…
Read More » -
Core Java
JDK Language Feature Preview in Action: Switch Expressions
JEP 12 [“Preview Language and VM Features”] is described on its main page as follows: A preview language or VM…
Read More » -
Core Java
String.valueOf(Object) versus Objects.toString(Object)
The handy method String.valueOf(Object) has been around since JDK 1.0 and is one of the JDK-provided methods that I use…
Read More » -
Core Java
Apache Commons ArrayUtils.toString(Object) versus JDK Arrays.toString(Object)
Apache Commons Lang provides an ArrayUtils class that includes the method toString(Object) that “Outputs an array as a String.” In…
Read More »