-
Core Java

Converting Collections to Maps with JDK 8
I have run into the situation several times where it is desirable to store multiple objects in a Map instead…
Read More » -
Core Java

The Highly Useful Java ChronoUnit Enum
Several years ago, I published the blog post “The Highly Useful Java TimeUnit Enum” that looked at the TimeUnit enum…
Read More » -
Core Java

Switch Expressions Coming to Java?
A JEP draft has been created with the title, “Switch Expressions for the Java Language.” The current “Summary” states, “Extend…
Read More » -
Core Java

A Log Message is Executable Code and Comment
Although there are differences of opinion regarding how many comments one should add to one’s code, I think it’s safe…
Read More » -
Enterprise Java

Too Many PreparedStatement Placeholders in Oracle JDBC
There are multiple causes of the ORA-01745 (“invalid host/bind variable name error”) error when using an Oracle database. The Oracle…
Read More » -
Core Java

Log Unexpected Switch Options
There are many things a Java developer can do to make his or her own life and the lives of…
Read More » -
Core Java

Simple String Representation of Java Decimal Numbers without Scientific Notation
The primary types/objects used for decimal numbers in Java are float/Float, double/Double, and BigDecimal. Each of these has cases in…
Read More » -
Core Java

Java Command-Line Interfaces (Part 30): Observations
This series on parsing command line arguments in Java has consisted of 29 posts published over four months and covering…
Read More » -
Core Java

Java Command-Line Interfaces (Part 29): Do-It-Yourself
This series on parsing command line arguments from Java has briefly introduced 28 open source libraries that can be used…
Read More »

