Rudradev Das has Published 59 Articles

Difference between HashMap and IdentityHashMap in Java

Rudradev Das

Rudradev Das

Updated on 02-Nov-2023 18:20:39

42 Views

HashMap and IdentityHashMap are the key value data sets which are used to access the key data pairs. More specifically. A HashMap is a Java collection framework which provides the functionality of a proper hash table data set. The map stores the element value as a key or pairs which are ... Read More

Difference Between Hashtable and Synchronized Map in Java

Rudradev Das

Rudradev Das

Updated on 02-Nov-2023 18:18:26

54 Views

A HashTable is a compact abstract data set which converts the keys of a map to the values by computing the indexes into an array of slots to enable faster data access. On the other hand, a synchronized map is a Java collection class which is mainly used to synchronize ... Read More

Difference Between IdentityHashMap, WeakHashMap, and EnumMap in Java

Rudradev Das

Rudradev Das

Updated on 02-Nov-2023 17:58:08

85 Views

The IdentityHashMap is a special type of hash class by which we handle the rare cases related to the reference-equality. This map compares the keys by using a " = = " operator where the normal hashmap uses the " equals " method for this. A Weak HashMap is a ... Read More

Difference and similarities between HashSet , LinkedHashSet and TreeSet in Java

Rudradev Das

Rudradev Das

Updated on 02-Nov-2023 17:50:59

46 Views

The HashSet, LinkedHashSet and TreeSet are the set interface class mainly used to store the elements. HashSet − A HashSet is a container instance which stores the unique elements only in a non synchronized manner to handle the high-performance operations involving with the set. The set allows the null values which ... Read More

Difference Between InputStream and OutputStream in Java

Rudradev Das

Rudradev Das

Updated on 19-Oct-2023 13:23:58

199 Views

InputStream and OutputStream both are the abstraction process which can be implemented to access the low level data sets as pointers . They are the signified APIs to specify a particular data sequence of an operation by following some individual steps. The InputStream rearranges a data set as an ordered ... Read More

Difference between Inheritance and Interface in Java

Rudradev Das

Rudradev Das

Updated on 19-Oct-2023 13:22:02

207 Views

Inheritance is a Method to create a hierarchy between multiple classes by replicating some properties from others. There are various types of inheritance present in Java, such as single inheritance, multiple inheritance, multilevel inheritance, hybrid inheritance, and hierarchical inheritance. Interface is the blueprint of a particular class which consists ... Read More

Page Faults in LRU

Rudradev Das

Rudradev Das

Updated on 05-May-2023 11:35:46

700 Views

Paging is a memory management process related the operating systems. It stores or retrieve some process data from the secondary data storage into the primary data storage or memory by using the page segement. The paging process happens when the process encounters any fault in a page and we can ... Read More

Page Faults in LFU

Rudradev Das

Rudradev Das

Updated on 05-May-2023 11:29:40

1K+ Views

The Least Frequently Use aka LFU is a concept of page memory management, can also be used as a replacement algorithm. This process take a lead we the particular page needs a replacement when a new page is on the way by the process. LFU is one of the page ... Read More

Python Program to Count Inversions of Size Three in A Given Array

Rudradev Das

Rudradev Das

Updated on 13-Apr-2023 12:23:12

306 Views

Inversion count is a step counting method by which we can calculate the number of sorting steps taken by a particular array. It is also capable to count the operation time span for an array. But, if we want to sort an array in a reverse manner, the count will ... Read More

Java Program for range LCM queries

Rudradev Das

Rudradev Das

Updated on 13-Apr-2023 12:20:03

103 Views

Ranging a query is a common database current interest operation present in data structure to restore all the records where the output value lies between an upper and lower boundary. This process works with some input data, to structure them in an efficient manner on any subset of a particular ... Read More

Advertisements