Convenience Factory Methods for Collections
Java 9 introduced the Convenience Factory Methods for Collections that make it convenient to create instances of collections or maps with few elements
Monthly Archives: April 2020
Java 9 introduced the Convenience Factory Methods for Collections that make it convenient to create instances of collections or maps with few elements
Preconditions in the Google Guava offers static utility methods that will help us write one-line statements for doing precondition validations.
This post is about measuring elapsed time in Java using a Stopwatch. We will over cover the Stopwatch from Google Guava and the Apache Commons lang.
Default methods in Java enable us to add new functionality to the interfaces of our libraries without breaking the existing implementations of the interface