Explore various ways to compare Long values using Java’s Collections.sort() method.
Also find me here:
Baeldung Author
Wynn Teo
I’m Wynn, a Full-stack Developer with a 10+ years of experience. I began my journey in the tech world during my university days in Singapore, and coding has been my passion ever since. I enjoy learning, especially when it comes to all things tech. The journey of gaining knowledge is what keeps me going.
Here's what I've written (so far):
Baeldung on Java
- All
- JPA (10)
- Spring Data (6)
- Persistence (6)
- Java Concurrency (6)
- Web Services (4)
- Java Numbers (4)
- JSON (4)
- Spring Boot (3)
- Networking (3)
- Java List (3)
- Java IO (3)
- Java Array (3)
- Java (3)
- HTTP Client-Side (3)
- Core Java (3)
- Algorithms (3)
- Testing (2)
- Spring (2)
- Java String (2)
- Java Dates (2)
- Jackson (2)
- Data (2)
- Spring Cloud (1)
- Security (1)
- REST (1)
- NoSQL (1)
- Java Map (1)
- Java Collections (1)
- Cloud (1)
Using Google Translate API in a Java Application
Filed under Cloud, Web Services
Walk through the steps to integrate the Google Translate API into a Java application.
Composite Item Reader in Spring Batch
Filed under Spring
Spring Batch’s CompositeItemReader simplifies handling multiple readers in a batch job, ensuring efficient and flexible data processing
Import CSV in Elasticsearch Using Spring Boot
Filed under Spring Boot
Learn how to import CSV data into Elasticsearch using three methods: a manual for-loop, Spring Batch, and Logstash.
Transform a Future into CompletableFuture
Filed under Java Concurrency
By leveraging Java’s CompletableFuture, we can take advantage of non-blocking operations, task chaining, and robust exception handling.
Check if the Given String Is a Valid Number
Filed under Java Numbers, Java String
Explore methods for validating if a string is numeric in Java, including basic character iteration, regular expressions, built-in parsing methods, and Apache Commons.
Filter a List by Nested Lists in Java
Filed under Java List
Learn how to filter a list based on their nested lists in Java: using traditional loops, Java Streams, and custom predicates.
How to Clone a JPA Entity
Filed under JPA
Explore various approaches to cloning JPA entities
Read and Write to IBM MQ Queue Using Java JMS
Filed under Java
Learn how to set up JMS connections, sessions, and message producers/receivers for interacting with IBM MQ queues.