java basics
-
Core Java
Obtain Regex Pattern Matches Indexes
In the realm of Java programming, working with strings and patterns is indispensable for numerous applications. Regular expressions, often referred…
Read More » -
Core Java
Get Content Between Square Brackets
In the world of text processing, extracting information enclosed within square brackets has become an important task. Square brackets often…
Read More » -
Core Java
Check Key-Value Pair Existence In JSON Array
JSON (JavaScript Object Notation) is a lightweight data interchange format. It uses key-value pairs to store data objects. Keys are…
Read More » -
Core Java
Get First Set Item
A Java Set is a collection that stores unique elements, ensuring that no duplicates are allowed, and maintains (or not)…
Read More » -
Core Java
Java Holder Class
In Java, the Holder class is not part of the standard language itself. What we are referring to here is…
Read More » -
Core Java
Java Iterator vs. ListIterator
In Java, an Iterator is an interface that is part of the Java Collections Framework, which provides a way to…
Read More » -
Core Java
Get Start And End Date Of A Year
In programming, efficiently obtaining the a year’s start and end dates is a common task, often required for various applications…
Read More » -
Core Java
Java 8 DateTime vs. Calendar and Date
Java 8, released in March 2014, introduced a significant improvement to handle date and time operations with the introduction of…
Read More » -
Core Java
ModelMapper vs. MapStruct in Java
ModelMapper vs MapStruct in Java is a common topic of discussion in the Java community when it comes to mapping…
Read More » -
Core Java
Proper Java Exception Handling
Proper Java exception handling is a critical aspect of writing robust and reliable Java applications. It involves anticipating and gracefully…
Read More »