Category: Understanding records serialization

Summing two arrays unrolled via Vector API – Arrays, collections and data structuresSumming two arrays unrolled via Vector API – Arrays, collections and data structures

104. Summing two arrays unrolled via Vector API In this problem, we take the example of summing two arrays from the previous problem and re-write the loop in an unrolled

Adding more artifacts in a record Certification Exams of Java Getting a list from a stream Java Exams Tackling records in Spring Boot Understanding records serialization

Benchmarking Vector API – Arrays, collections and data structuresBenchmarking Vector API – Arrays, collections and data structures

105. Benchmarking Vector API Benchmarking Vector API can be accomplished via JMH. Let’s consider three Java arrays (x, y, z) each of 50,000,000 integers, and the following computation: z[i] =

Adding more artifacts in a record Certification Exams of Java Java Exams Tackling guarded record patterns Tackling records in Spring Boot Understanding records serialization

Multiplying matrices via Vector API – Arrays, collections and data structuresMultiplying matrices via Vector API – Arrays, collections and data structures

107. Multiplying matrices via Vector API Let’s consider two matrices of 4×4 denoted as X and Y. The Z=X*Y is: Figure 5.10 – Multiplying two matrices (X * Y =

Certification Exams of Java Getting a list from a stream Java Exams Tackling guarded record patterns Tackling records in Spring Boot Understanding records serialization

Dissecting factory methods for collections – Arrays, collections and data structuresDissecting factory methods for collections – Arrays, collections and data structures

109. Dissecting factory methods for collections Factory methods for collections are a must-have skill. Is very convenient to be able to quickly and effortlessly create and populate unmodifiable/immutable collections before

Adding more artifacts in a record Certification Exams of Java Getting a list from a stream Java Exams Tackling guarded record patterns Tackling records in Spring Boot Understanding records serialization