Skip to content

Cats In Code

  • Contact
  • Home
  • Collections

Recent Posts

  • Declaring Functions in Kotlin With fun
  • Declaring Variables in Kotlin With val, var and const
  • What is Kotlin?
  • Caching Strategies Overview
  • Transactions and Their Types

Categories

  • Collections
  • Concurrency
  • Design Patterns
  • Development Basics
  • Generics
  • Interfaces & Inheritance
  • Kotlin
  • System Design

Subscribe to my blog posts:

Subscribe to my blog posts
Loading

Tag: Collections

Java LinkedHashSet and Its’ Difference from HashSet

java linkedhashset

In this blog post we’ll cover what is Java LinkedHashSet, when and how to use it. In addition to that we’ll also talk about how it is different from the HashSet. What is Java LinkedHashSet? Java LinkedHashSet is an implementation of a hash table and a […]

Continue reading Java LinkedHashSet and Its’ Difference from HashSet

Java TreeSet: Explained With Examples

java treeset

In this blog post you’ll read about what a Java TreeSet is and when to use it. Also, we’ll take a look at some examples that TreeSet in Java has to offer. It has quite a few different features from the HashSet. What is Java TreeSet? […]

Continue reading Java TreeSet: Explained With Examples

Java LinkedHashMap and Its’ Difference From HashMap

java linkedhashmap

In this blog post we’ll cover what is Java LinkedHashMap and when to use it. Also, we’ll talk about what is the difference between the LinkedHashMap and HashMap in Java. It would be better if you already know what a HashMap is before continuing to […]

Continue reading Java LinkedHashMap and Its’ Difference From HashMap

Java TreeMap And Its’ Little-Known Features

java treemap

What is Java TreeMap? Java TreeMap is a collection that implements from the NavigableMap interface. It has been available since JDK 1.2. In its’ essence TreeMap is an implementation of Red-Black tree. Red-Black tree is a self-balancing binary tree. TreeMap in Java stores key-value pairs. In […]

Continue reading Java TreeMap And Its’ Little-Known Features

Java HashMap: 5 Questions and Answers You Should Know Of

java hashmap

1. What is Java HashMap? Java HashMap is a collection that implements from the Map interface. It has been around since JDK 1.2. HashMap is implemented on top of HashTable and therefore they both have a lot of similarities. HashMap in Java stores key-value pairs […]

Continue reading Java HashMap: 5 Questions and Answers You Should Know Of

Java HashSet: What It Is, When and How To Use It?

java hashset

In this blog post we will first cover what is a Java HashSet, when to use a HashSet and show you how to use a HashSet in Java by providing several examples. You’ll also find answers to the following questions: Is HashSet ordered? Is HashSet synchronized? What […]

Continue reading Java HashSet: What It Is, When and How To Use It?

LinkedList in Java With Examples How to Use It

linkedlist in java

In this blog post we will first cover what is a LinkedList in Java, when to use a Java LinkedList and show you how to use a LinkedList by providing several examples. What is LinkedList in Java? Java LinkedList is a collection that implements from […]

Continue reading LinkedList in Java With Examples How to Use It

ArrayList in Java With Examples How to Use It

ArrayList in Java

In this blog post we will first cover what is an ArrayList in Java, when to use an ArrayList and show you how to use it. What is ArrayList in Java? Java ArrayList is a collection that implements from the List interface. It lets you […]

Continue reading ArrayList in Java With Examples How to Use It

Recent Posts

  • Declaring Functions in Kotlin With fun
  • Declaring Variables in Kotlin With val, var and const
  • What is Kotlin?
  • Caching Strategies Overview
  • Transactions and Their Types

Categories

  • Collections
  • Concurrency
  • Design Patterns
  • Development Basics
  • Generics
  • Interfaces & Inheritance
  • Kotlin
  • System Design

Subscribe to my blog posts:

Subscribe to my blog posts
Loading
All Rights Reserved
Proudly powered by WordPress
Theme: AeonBlog by AeonWP.
Go to top