Core Java
-

Non-Blocking Asynchronous Java 8 and Scala’s Try/Success/Failure
Inspired by a recent newsletter from Heinz Kabutz as well as Scala’s Futures which I investigated in my recent book,…
Read More » -

Too Many Parameters in Java Methods, Part 4: Overloading
One of the problems with expecting too many parameters to be passed to a Java method is that it is…
Read More » -

Java: Incrementally read/stream a CSV file
I’ve been doing some work which involves reading in CSV files, for which I’ve been using OpenCSV, and my initial…
Read More » -

Integrate AspectJ with NetBeans Platform Development
Are you developing your project using the NetBeans Platform? Are you willing to use AspectJ to use AOP? You do…
Read More » -

Too Many Parameters in Java Methods, Part 3: Builder Pattern
In my two immediately previous posts, I looked at reducing the number of parameters required for a constructor or method…
Read More » -

Too Many Parameters in Java Methods, Part 2: Parameters Object
In my previous post, I looked at some of the problems associated with long parameters lists for methods and constructors.…
Read More » -

instanceof operator and Visitor pattern replacement in Java 8
I had a dream where instanceof operator and downcasting were no longer needed but without clumsiness and verbosity of visitor…
Read More » -

Java Auto-Unboxing Gotcha. Beware!
What do you think that the following code snippet will print? …
Read More » -

Too Many Parameters in Java Methods, Part 1: Custom Types
I consider lengthy parameters lists in constructors and methods to be another “red flag” in Java development that may not…
Read More »

