Day: May 10, 2019

Last Updated on June 14, 2019 by Simanta Lists are common data structures in Java. Elements in a List have a specific order and can include duplicate elements. List have different implementations based on different use cases. The two key ones are ArrayList and LinkedList. Novice programmers often tend to use both the implementations interchangeably. […]Continue reading

Last Updated on June 30, 2019 by Simanta Timer is a utility class as a facility for Threads to schedule tasks for future execution as a background thread. You can use this class to schedule tasks for one-time execution or for repeated execution at a regular interval. In this post, I’ll explain how to schedule […]Continue reading

Last Updated on October 19, 2024 by jt In Java, the HashMap and HashTable are both data structures that store data in key value pairs. When you store data in these, the key value is hashed, then is used as an index for fast access to the stored data. HashMap vs Hashtable HashMap Hashtable Introduced […]Continue reading