Category: Certification Exams of Java

Covering Vector API structure and terminology 2 – Arrays, collections and data structuresCovering Vector API structure and terminology 2 – Arrays, collections and data structures

The Vector lanes A Vector<E> is like a fixed-sized Java array made of lanes. The lane count is returned by the length() method and is called VLENGTH. The lane count

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

Covering Vector API structure and terminology – Arrays, collections and data structuresCovering Vector API structure and terminology – Arrays, collections and data structures

102. Covering Vector API structure and terminology The Vector API is mapped by the jdk.incubator.vector module (and a package with the same name). A jdk.incubator.vector.Vector starts from a generic abstract

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

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

103. Summing two arrays via Vector API Summing two arrays is the perfect start for applying what we’ve learned in the preceding two problems. Let’s assume that we have the

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

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