MManikandan SOct 23 · 6 min readTreeMap in Java1. Introduction to TreeMap TreeMap is a Java class that implements the NavigableMap interface. It stores key-value pairs sorted by keys. Syntax TreeMap<KeyType, ValueType> map = new TreeMap<>(); Exammanikandan4411.hashnode.dev
MManikandan SOct 21 · 5 min readLinkedHashMap in Java1. Introduction to LinkedHashMap LinkedHashMap is a Java class that implements the Map interface. It stores key-value pairs and maintains insertion order by default. Syntax LinkedHashMap<KeyType, Valumanikandan4411.hashnode.dev
MManikandan SOct 19 · 6 min readHashMap in JavaIntroduction to HashMap HashMap is a Java class that implements the Map interface. It stores data as key-value pairs. Keys must be unique, but values can be duplicated. It does not guarantee insertionmanikandan4411.hashnode.dev
MManikandan SOct 5 · 7 min readJava Collection ComparisonsJava provides different collection types for storing and managing data. Understanding the differences between them is important for Java development, DSA, and interviews. This article covers the most manikandan4411.hashnode.dev
MManikandan SOct 1 · 6 min readJava CollectionsJava Collections Framework provides a set of interfaces, classes, and methods for storing and manipulating groups of objects. It makes it easier to store, search, sort, and process data in Java. 1. Wmanikandan4411.hashnode.dev
CChetan DattaJun 11, 2024 · 9 min read21 Java - MapMap Its an interface and its implementations are HashMap: Do not maintains the order. HashTable: Synchronized version of HashMap LinkedHashMap: Maintains the insertion order. TreeMap: sorts the data internally. Object that maps key to values....chetan77.hashnode.dev