Core Java
-
New JDK 11 Files Methods for Reading/Writing Strings From/To Files
My previous post focused on the Files.isSameContent() method that is likely to be added to JDK 11. JDK-8201276 [“(fs) Add…
Read More » -
Using Java Stream summary statistics
Streams of primitive types (IntStream, etc.) provide a summaryStatistics() method that can be used to get multiple statistical properties of…
Read More » -
Java 8 filter & map & collect & Stream Example
Hello guys, many of my readers emailed me to write a post about map and filter function of Java 8 because…
Read More » -
Predicate::not Coming to Java
Jim Laskey’s recent message “RFR: CSR – JDK-8203428 Predicate::not” on the OpenJDK core-libs-dev mailing list calls out JDK Bug JDK-8203428…
Read More » -
Why debugging in production is so tempting?
Debugging in Production Why debugging in production is so tempting? In one of my first jobs, one of the tasks…
Read More » -
Java Stream ORM Now with JOINs
Speedment is a Java Stream ORM Toolkit and Runtime that allows you to view database tables as standard Java Streams.…
Read More » -
A wicked Java trick to make the JVM forget to check exceptions
I’ve long time been a critic of the mechanism of compiler checked exceptions in Java. Whether you love them or…
Read More » -
Templating with Rocker
In this post we will have a quick look at Rocker, a statically typed and fast Java 8 template engine.…
Read More » -
Java’s @Serial Annotation
The JDK may be getting another standard (predefined) annotation with JDK 11: @Serial. JDK-8202385 [“Annotation to mark serial-related fields and…
Read More »