In this article, we will discuss the differences between a deep copy and and shallow copy of an object in Java, and their implications.
Java Miscellaneous Tips
How to Better Understand Java HashMap
How the HashMap class is internally implemented, its initial capacity and re-sizing and its behavior in a multi-threaded scenario.
Java Map: How to Get Sorted Keys
The LinkedHashMap class implements the Map interface and preserves the order in which the keys are inserted into it.
Java Map: Preserve Insertion Order
The LinkedHashMap class implements the Map interface and preserves the order in which the keys are inserted into it.
Java Double: Parse String with Comma
Parsing strings into Double values can be tricky sometimes. We show in this post some common scenarios and how to deal with them.