OSHI (Operating System and Hardware Information) is a pure Java library that helps us fetch system-level details without any native dependencies.
Also find me here:
Baeldung Author
Neetika Khandelwal
An enthusiastic computer science engineer with experience working in Java applications. I have interest in solving real world problems through my knowledge in DSA and passionate about learning new technologies. I also develop technical contents to share knowledge and provide learning content.
Here's what I've written (so far):
Baeldung on Java
- All
- Java Array (7)
- Java List (4)
- Java Collections (4)
- Algorithms (4)
- Java Streams (3)
- Java Numbers (3)
- Java Map (3)
- JSON (3)
- Spring Boot (2)
- Java String (2)
- Java (2)
- Testing (1)
- Spring (1)
- Persistence (1)
- Networking (1)
- Logging (1)
- Java Web (1)
- Data (1)
- Core Java (1)
Java Equivalent to Python’s Easy String Slicing
Filed under Java String
Explore Java equivalents to Python’s string slicing and how to implement similar operations efficiently.
Validate List of Values in Spring
Filed under Java List, Spring Boot
Learn how to validate lists in Spring including the cases where only specific values are allowed.
Difference Between a HashMap and a Dictionary in Java
Filed under Java Map
Explore the differences between Java’s HashMap and Dictionary, and find out when and why to use each.
Convert Between IPv6 and BigInteger in Java
Filed under Java Numbers, Networking
By using InetAddress for address parsing and BigInteger for numerical manipulation, we can seamlessly work with IPv6’s 128-bit complexity in a robust and scalable manner.
How to Check if Two Boolean Values Are Equal
Filed under Core Java
Explore several techniques for checking for equality between boolean values and learn when each method is appropriate.
Finding the Index of the First Duplicate Element in an Array
Filed under Algorithms, Java Array
Finding the first duplicate in an array can be done using different strategies, each with its time and space complexity trade-offs.
Mock @Value in Spring Boot Test
Filed under Spring Boot, Testing
Learn why and how to mock @Value in Spring Boot tests to ensure smooth and effective testing without loading the entire application context.
Why Is 2 * (i * i) Faster Than 2 * i * i in Java?
Filed under Java Numbers
Explore why 2 * (i * i) is generally faster than 2 * i * i and dive into the underlying reasons
Baeldung on Computer Science
- All
- Programming (1)
- Data Structures (1)
How to Implement a Queue Using Two Stacks?
Filed under Data Structures
Learn two approaches to simulating a FIFO queue using two LIFO stacks.
High-Level Design vs. Low-Level Design
Filed under Programming
Explore the differences between high-level and low-level designs in software engineering.