Work with Lists in Guava – clean duplicates and nulls from the list, reverse it and partition it – or convert it to an ImmutableList.
Also find me here:
Baeldung Author
Eugen Paraschiv
I’m a software engineer with a passion for REST, TDD and clean code, Web Security and Data Mining. Baeldung is about all of these and more.
Here's what I've written (so far):
Baeldung on Java
- All
- Weekly Review (152)
- Spring (38)
- Spring Security (29)
- REST (23)
- Java IO (22)
- HTTP Client-Side (20)
- Jackson (18)
- Data (17)
- Java Collections (11)
- Java (9)
- Testing (8)
- Spring MVC (7)
- Maven (7)
- Spring Persistence (6)
- Persistence (6)
- Java List (6)
- JPA (6)
- Spring Web (5)
- Java String (5)
- Spring Boot (4)
- Spring Data (3)
- Security (2)
- Meta (2)
- Java Map (2)
- Java Array (2)
- JSON (2)
- Cloud (2)
- News (1)
- Java Numbers (1)
- Java Concurrency (1)
- IDE (1)
- Core Java (1)
- Artificial Intelligence (1)
- Architecture (1)
Java Timer
Filed under Core Java
Using the Java Timer and TimerTask to get the most out of it. Schedule a delayed one time task, a daily task or just repeat on an interval. Cool beans.
Baeldung Weekly Review 43
Filed under Weekly Review
This week is definitely Spring heavy – lot of solid Spring Boot pieces that show how the framework is maturing. Some interesting JVM articles as well.
Guava – Write to File, Read from File
Filed under Java IO
How to Write to File and Read from a File using the Guava IO support and utilities.
Baeldung Weekly Review 42
Filed under Weekly Review
A week about Agile, building communities and patch operations in Spring – so not a bad week.
Guava – Join and Split Collections
Filed under Java Collections
How to use the Guava Splitter and Joiner to convert to and from collections and Strings.
The @Scheduled Annotation in Spring
Filed under Spring
How to use the @Scheduled annotation in Spring, to run tasks after a fixed delay, at a fixed rate or according to a cron expression.
Baeldung Weekly Review 41
Filed under Weekly Review
Wide array of articles from HTTP/2 moving forward, through using testing as the main driver of your design and to the useful lessons in Microservices.
Filtering and Transforming Collections in Guava
Filed under Java Collections
Filter collections with Predicates and transform them with Functions using the Guava library.