List of Iterator in Java
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 […]
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 […]
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 […]
Set Interface and its methods Before discussing about Set interface we need to know about the two concepts related to Set Interface Collection What is an Interface? Interface is a property in Java which assigns the behavior of class. Interface is of abstract type which consists of only abstract methods thus resulting in 100 percent […]