News

Method references in Java are part of the broader set of features introduced and enhanced in Java 8 and beyond. They are a concise way to refer to methods of classes or objects.
Hello I'm writing a file parser that needs to the results of it parsing into a particular class. In the name of good code re-use in the future I didn't want ...
To find the size of a Java array, query an array’s length property. The Java array size is set permanently when the array is initialized. The size or length count of an array in Java includes both ...
Hiding Java method deprecation problems. There are plenty of deprecated methods in Java, and there’s nothing stopping you from calling them. Sure, a yellow yield sign might appear in the line-number ...
Java 8 introduced a new list() method in java.nio.file.Files. The list method returns a lazily populated Stream of entries in the directory. As such, it is more efficient for processing large folders.