Learn how a partition key, composite key, and clustering key form a primary key and also how they differ
Search Results for: sorting
How to Implement LRU Cache in Java
A guide to implementing an LRU cache in Java.
Build a Dashboard With Cassandra, Astra, REST & GraphQL – Recording Status Updates
An example of using Cassandra to store time-series data.
Paging and Async Calls with the Kubernetes API
Explore how to use paging and asynchronous calls with the Kubernetes Java API.
Guide to Implementing the compareTo Method
Learn about how to implement the compareTo method using core Java.
Java Weekly, Issue 359
All things Reactive: R2DBC joins Reactive Foundation, Reactive Manifesto II, and The Reactive Principles. NUMA meets G1, GraphQL at scale, and write angry!
Find the Kth Smallest Element in Two Sorted Arrays in Java
A quick and practical guide to finding the k-th smallest element in two sorted arrays.
Introduction to Spring Data JDBC
A quick and practical guide to Spring Data JDBC.
Comparing Arrays in Java
Have a look at different ways to compare arrays in Java.
Java Weekly, Issue 344
Java is moving so fast! Java 15 is about to be released and we have two exciting news about Java 16. Also, some interesting topics on Security and Cloud.
Spring REST Docs vs OpenAPI
Explore the differences between the OpenAPI based springdoc and Spring REST Docs.
Testing Multi-Threaded Code in Java
A comprehensive guide to testing multithreaded code in Java.
Introduction to Apache Beam
Get started with Apache Beam and this simple word counter
Arrays.sort vs Arrays.parallelSort
Learn how Java sort() and parallelSort() differ.
Branch Prediction in Java
A quick and practical overview of branch prediction in Java.
Kruskal’s Algorithm for Spanning Trees with a Java Implementation
Learn how to use Kruskal’s algorithm to solve the minimum and maximum spanning tree problems
Check if Two Strings Are Anagrams in Java
We may wish to detect whether Strings contain anagrams of each other. Here we explore a few algorithms, with different programming and execution complexity.
Documenting a Spring REST API Using OpenAPI 3.0
Learn how to generate OpenAPI 3.0 specifications for a Spring REST API using SpringDoc.
Debugging Java 8 Streams with IntelliJ
Learn about IntelliJ’s dedicated stream debugging feature with a few simple examples
Find the Smallest Missing Integer in an Array
Learn how to find the Smallest Missing Integer in an Array.