Interface in Java
List Interface and its methods Before we start with List Interface let us look at Collection Hierarchy Collection Hierarchy The below diagram shows the Collection hierarchy consisting of classes and interfaces. As per the scope of the blog our discussion will be limited to the List Interface What is List Interface ? List Interface is […]
SortedSet Interface and its methods Before discussing about SortedSet interface let us look at Collection Hierarchy Collection Hierarchy The below diagram shows the Collection hierarchy consisting of classes and interfaces. As per the scope of the blog our discussion will be limited to the SortedSet interface What is SortedSet ? SortedSet is an interface which […]
LinkedList and its methods Before we start with LinkedList let us look at Collection Hierarchy Collection Hierarchy The below diagram shows the Collection hierarchy consisting of classes and interfaces. As per the scope of the blog our discussion will be limited to the LinkedList class What is LinkedList class ? LinkedList class is an implemented […]
Stack class in Collection Stack Class and its methods Before we start with Stack let us look at the following concepts 1.Legacy Classes 2.Collection Hierarchy Legacy Classes Legacy classes are those classes with the help of which we store various datas or Objects. These were present in JDK 1.0 version. The various legacy classes are […]
Vector Class and its methods Before we start with Vector let us look at the following concepts 1. Legacy Classes 2. Collection Hierarchy Legacy Classes Legacy classes are those classes with the help of which we store various datas or Objects. These were present in JDK 1.0 version. The various legacy classes are Vector, […]
ArrayDeque and its Methods Before discussing about ArrayDeque let us look at the Collection Hierarchy. Collection Hierarchy The below diagram shows the Collection hierarchy consisting of classes and interfaces. Now let us discuss about ArrayDeque class and its methods What is ArrayDeque ? ArrayDeque is a interface which stores all Collection elements. It is the […]
LinkedHashSet and its Methods Before we start with HashSet let us look at the Collection Hierarchy Collection Hierarchy The below diagram shows the Collection hierarchy consisting of classes and interfaces. As per the scope of the blog our discussion will be limited to the LinkedHashSet class What is LinkedHashSet ? LinkedHashSet is a subclass of […]
TreeSet and its Methods Before we start with HashSet let us look at the Collection Hierarchy Collection Hierarchy The below diagram shows the Collection hierarchy consisting of classes and interfaces. As per the scope of the blog our discussion will be limited to the TreeSet class What is TreeSet? TreeSet is a class which is […]
PriorityQueue and its methods Before discussing about PriorityQueue let us look at the Collection Hierarchy. Collection Hierarchy The below diagram shows the Collection hierarchy consisting of classes and interfaces. What is PriorityQueue? PriorityQueue is a class which stores all the Collection elements. It is the child class of Queue interface, grandchild class of Collection interface […]
HashSet and its Methods Before we start with HashSet let us look at the Collection Hierarchy Collection Hierarchy The below diagram shows the Collection hierarchy consisting of classes and interfaces. As per the scope of the blog our discussion will be limited to the HashSet class What is HashSet HashSet is a class which is […]