A comparison between two classes to output content: PrintWriter and PrintStream, explaining the similarities and differences between them.
Also find me here:
Baeldung Author
Christian Jaimes
Chris is a passionate Software Engineer. He is enthusiastic about algorithms and data structures. He enjoys creating software projects with spectacular backend implementations, but average UI — not his forte. Sports and music are his elixir vitae. He creates; therefore, he learns.
Here's what I've written (so far):
Baeldung on Java
- All
- NoSQL (1)
- Java IO (1)
- Java (1)
- HTTP Client-Side (1)
- Core Java (1)
- Algorithms (1)
Gravity/Bead Sort in Java
Filed under Algorithms
Learn about the gravity sort (a.k.a. bead sort) algorithm and understand its single-threaded implementation in Java.
Using Dates in CRUD Operations in MongoDB
Filed under NoSQL
Learn how to execute date-related CRUD operations against MongoDB using Java
Add Header to Every Request in Postman
Filed under HTTP Client-Side
Explore the pre-request Script functionality of Postman to add HTTP headers to every request.
Generate a Random Value From an Enum
Filed under Java
Learn how to generate a random value from an enum.
Convert boolean to int in Java
Filed under Core Java
Different ways to convert a boolean to an integer.
Baeldung on Computer Science
- All
- Data Structures (2)
- Sorting (1)
- Software Architecture (1)
- OS (1)
- Algorithms (1)
What Are Data Pipelines?
Filed under Software Architecture
A quick and practical guide to Data Pipelines.
File Sharing: NFS vs SMB vs CIFS
Filed under OS
A quick and practical guide to common file sharing protocols.
Hashing – Separate Chaining
Filed under Algorithms, Data Structures
A quick and practical guide to separate chaining for hashing.
Hashing – Linear Probing
Filed under Data Structures
A quick and practical guide to Linear Probing – a hashing collision resolution technique.
Gravity/Bead Sort
Filed under Sorting
Learn how gravity sort simulates the effect of gravity to sort positive integers.
Baeldung on Ops
- All
- Docker (2)
Docker Compose Restart Policies
Filed under Docker
Learn about restart policies in docker-compose.
Restart a Single Container With Docker Compose
Filed under Docker
Learn how to restart a single Docker container using Docker Compose.