Tips and best practices on using Java 8 lambdas and functional interfaces.
Search Results for: function declaration
Introduction to Nashorn
A quick, practical intro to Nashorn, the default JavaScript engine for the JVM as of Java 8.
Java Weekly, Issue 541
The JVM GC leveling up, the Vary HTTP header and of course, records. A solid week.
Implementing GraphQL Mutation Without Returning Data
Explore techniques for implementing GraphQL mutations without retrieving or returning specific information.
Parse Java Source Code and Extract Methods
A quick and practical guide to parsing Java source code and extracting methods.
All the Ways Java Uses the Colon Character
Learn how Java uses the colon character in a variety of different ways.
Convert an XML File to CSV File
Learn how to quickly convert XML files to CSV using Java
Synchronize a Static Variable Among Different Threads
Learn several ways to synchronize access to static variables among different threads.
Convert One Enum to Another Enum in Java
A quick and practical guide to convert one enum to another.
Cognitive Complexity and Its Effect on the Code
A quick and practical guide to cognitive complexity.
Classpath vs. Modulepath in Java
Explore the distinction between the modulepath and classpath in Java.
Analyze, Generate and Transform Code Using Spoon in Java
Learn how to use the Spoon library to analyze and modify Java source code.
Initialize an ArrayList with Zeroes or Null in Java
Learn the alternatives when we need to initialize an ArrayList with null or 0 values.
Generate Unit Test Data in Java Using Instancio
Learn how to eliminate manual data setup in tests by auto-generating the data using Instancio.
Differences Between Spring Data JPA findFirst() and findTop()
Learn about the findFirst() and findTop() methods from Spring Data JPA.
Monads in Java – Optional
Explore why the Java Optional class is a monad.
Type Parameter vs Wildcard in Java Generics
A detailed explanation about generics, how and when to use type parameters, and when wildcards are more appropiate.
Channels and Connections in RabbitMQ
Explore Channels and Connections in RabbitMQ and how we can use them.
JPA and Hibernate – Criteria vs. JPQL vs. HQL Query
A comparison between Criteria Query, JPQL, and HQL Query.
Implements vs. Extends in Java
A quick and practical comparison between the implements and extends keywords in Java.