How to remove all nulls from a List using plain Java, Guava, the Commons Collections framework or the new Java 8 lambda support.
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 (33)
- Spring Security (29)
- REST (23)
- Java IO (22)
- HTTP Client-Side (20)
- Jackson (17)
- Data (17)
- Java Collections (12)
- Java (9)
- Testing (8)
- Spring MVC (7)
- Maven (7)
- Spring Persistence (6)
- Persistence (6)
- Java List (6)
- JPA (6)
- Java String (5)
- Spring Web (4)
- Spring Boot (4)
- Spring Data (3)
- JSON (3)
- Security (2)
- Meta (2)
- Java Map (2)
- Java Array (2)
- Cloud (2)
- News (1)
- Java Numbers (1)
- Java Concurrency (1)
- IDE (1)
- Core Java (1)
- Artificial Intelligence (1)
- Architecture (1)
The Baeldung Weekly Review 22
Filed under Weekly Review
An interesting week with quite a mixed sample of solid articles being published – Spring, Java, Hibernate and Testing resources.
Spring Security – Persistent Remember Me
Filed under Spring Security
A secure Remember Me solution with Spring Security – using a token persisted in the database.
Convert a Map to an Array, List or Set in Java
How to convert the values of a Map to an array, List or Set using plain Java.
Converting Between a List and a Set in Java
Filed under Java Collections, Java List
How to convert between a List and a Set using plain Java, Guava or Apache Commons Collections.
Converting Between an Array and a Set in Java
Filed under Java Array, Java Collections
How to Convert between an Array and a Set Using Plain Java, Guava or Apache Commons Collections.
Converting Between an Array and a List in Java
Filed under Java Array, Java List
How to Convert between an Array and a List Using plain Java, Guava or Apache Commons Collections.
The Baeldung Weekly Review 21
Filed under Weekly Review
An interesting week with some cool Spring Security 4 preview articles and the results of the “Capture the Bitcount” bug bounty.
Introduction to Spring Data JPA
Filed under Spring Data
Introduction to Spring Data JPA with Spring 4 – the Spring config, the DAO, manual and generated queries and transaction management.