Learn how Internet Address Resolution works in Java using the InetAddress API.
Also find me here:
Baeldung Author
Bhaskar Ghosh
Hi, I am Bhaskar Ghosh Dastidar. Software Engineer. Foodie. Cinephile. INTP.
Here's what I've written (so far):
Baeldung on Java
- All
- Core Java (6)
- Java Collections (4)
- Java String (3)
- Java Streams (2)
- Java Map (2)
- Networking (1)
- Java IO (1)
- Java Concurrency (1)
- Java Array (1)
- Java (1)
- JVM (1)
Serialization with FlatBuffers in Java
Filed under Java IO
Explore the FlatBuffers library and its capabilities to serialize and deserialize complex data.
Convert Infix to Postfix Expressions in Java
Filed under Core Java
Explore infix, prefix, and postfix notations of mathematical expressions.
JFR View Command in Java 21
Filed under JVM
A quick tutorial on the Java Flight Recorder view command, available in Java 21.
What Does It Mean to Hydrate an Object?
Filed under Java
Learn about the meaning of the term hydration in the context of programming.
How to Increment a Map Value in Java
Filed under Java Map
Explore several ways to increment the value of a Map entry.
Create a “Mutable” String in Java
Filed under Java String
Learn about mutable Strings and ways of mutating a String.
Deprecate Finalization in Java 18
Filed under Core Java
Learn about the reason behind Java’s decision to deprecate finalization for removal.
String Templates in Java 21
Filed under Java String
Explore several String composition techniques and understand the idea behind String interpolation.
Value-Based Classes in Java
Filed under Core Java
Explore value-based classes and the notion of value types in Java.
How to Get Index of an Item in Java Set
Filed under Java Collections
Explore how to find the index of an element in a Set.
Find the Middle Element of an Array in Java
Filed under Java Array
Explore several approaches to finding the middle elements of an array in Java.
Inner Classes vs. Subclasses in Java
Filed under Core Java
Explore subclasses, inner classes, and their role in writing modular object-oriented code.
The Vector API in Java 19
Filed under Core Java
Explore the Vector API, its associated terminologies, and how to leverage it.
Creating Custom Iterator in Java
Filed under Java Collections
Learn how to create a custom iterator in Java and apply it to our collections.
Overriding hashCode() And equals() For Records
Filed under Core Java
Learn how records provide us with a default implementation of equals() and hashCode() methods.
Difference Between parallelStream() and stream().parallel() in Java
Filed under Java Concurrency, Java Streams
Explore the ways we can create parallel Streams from a Collection data source.
Copying All Keys and Values From One Hashmap Onto Another Without Replacing Existing Keys and Values
Filed under Java Map
Explore ways to copy the entries from one HashMap to another while preserving the existing entries of the target HashMap.
Stream to Iterable in Java
Filed under Java Streams
Learn different ways for using a Stream as an Iterable.
Convert an ArrayList of Object to an ArrayList of String Elements
Filed under Java Collections
Discover strategies to normalize lists of objects to strings in Java.
Reversing a Stack in Java
Filed under Java Collections
A quick and practical guide to reversing a Stack in Java.
Find the First Non Repeating Character in a String in Java
Filed under Java String
Explore different approaches to finding the first non-repeating character in a string.