A quick and practical guide to creating a stream of regex matches.
Baeldung Author
Nam Tien Vu
I have extensive experience in the Java ecosystem and have been working in the field for many years. In my free time, I enjoy playing with cats and exploring the philosophies of Confucianism and Buddhism.
Here's what I've written (so far):
Baeldung on Java
- All
- Java (7)
- Java String (3)
- Algorithms (3)
- Security (2)
- Spring Data (1)
- Spring (1)
- Programming (1)
- Networking (1)
- Java Web (1)
- Java Collections (1)
- Java Array (1)
- Jackson (1)
- HTTP Client-Side (1)
- Guava (1)
Get a Random Element From a Set in Java
Filed under Java Collections
A quick and practical guide to getting a random Set element in Java.
Escape HTML Symbols in Java
Filed under Java String
A quick and practical guide to escaping HTML symbols in Java.
How to Read Zip Files Entries With Java
Filed under Java
A quick and practical guide to reading zip files in Java.
The Difference Between findById and getById in Spring Data
Filed under Spring Data
A quick and practical comparison of findById and getById methods in Spring Data.
Converting a cURL Into Postman and Vice Versa
Filed under Programming
A quick and practical guide to converting curl requests into Postman.
Self-Injection With Spring
Filed under Spring
A quick and practical guide to self-injection in Spring.
Find the N Most Frequent Elements in a Java Array
Filed under Java Array
A quick and practical guide to finding n most frequent elements in a Java array.
Validating IPv4 Address in Java
Filed under Java Web
We may wish to validate IP addresses from our settings files or other inputs. We look at a few ways to do this using libraries and plain Java code.
Java Program to Print Pascal’s Triangle
Filed under Algorithms
A quick and practical guide to implementing Pascal’s Triangle in Java.
Java Program to Calculate the Standard Deviation
Filed under Algorithms, Java
Learn how to calculate the standard deviation in Java.
Generate the MD5 Checksum for a File in Java
A quick and practical guide to generating the MD5 checksum for files in Java.
Custom HTTP Header With the Java HttpClient
Filed under HTTP Client-Side, Networking
A quick and practical guide to adding custom headers to HTTP requests with Java’s HttpClient.
Get the ASCII Value of a Character in Java
Filed under Java
A quick and practical guide to getting ASCII value of a char in Java.
Create a Simple “Rock-Paper-Scissors” Game in Java
Filed under Algorithms
A quick example of the Rock-Paper-Scissors implementation in Java.
Convert Between Byte Array and UUID in Java
Filed under Java
A quick and practical conversion guide between byte arrays and UUID.
Computing an X509 Certificate’s Thumbprint in Java
Filed under Security
A quick and practical guide to computing an X509 certificate’s thumbprint in Java.
Use Dot “.” as the Decimal Separator in Java
Filed under Java
A quick and practical guide to using dot as decimal separator in Java.
Simulate touch Command in Java
Filed under Java
A quick and practical guide to mimicking “touch” behavior in Java.
Compare Strings While Ignoring Whitespace in Java
Filed under Java String
Learn different ways to compare strings while ignoring whitespace in Java.
Deserialize Snake Case to Camel Case With Jackson
Filed under Jackson
By default, Jackson expects the field names in JSON to match the ones in our Java POJOs. As Java usually uses camel case field naming by convention, this makes it harder to deserialize snake case JSON. We look at some ways to configure our code so that we can load JSON with other field naming conventions.
Convert an Object to a Byte Array in Java
Filed under Java
A quick and practical guide to converting objects into byte arrays in Java.