Java Collection

From this blog you can understand, what is the collection in java. And what are all the class and interfaces available in Java to utilize the collection?.

What is collection?

In java collection is a framework which is provides the set of classes and interfaces to store and manipulates the collection of data in sorted or non-sorted manner. each class implements the unique data structures.

List of data structures available in Java

You can say data structure is an predefined algorithm which is help us to store and access the collection of objects without using the any third-party Database software. Below you can find list of data structure implementations in java.

  • Array
  • Linked List
  • Stack
  • Queue
  • Binary Tree
  • Binary Search Tree
  • Heap
  • Hashing
  • Graph

List of collection Interface

  • Iterable
  • Collection
  • List
  • Set
  • Queue
  • Map

List of class in collection

  • ArrayList
  • LinkedList
  • Vector
  • Stack
  • ArrayDequeue
  • PriorityQueue
  • HashSet
  • LinkedHashSet
  • TreeSet
  • HashMap
  • LinkedHashMap
  • TreeMap
Java Collection
Map