Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the responsive-lightbox domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hueman domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6114
Shekhar Sharma, Author at Testingpool - Page 7 of 28

Author: Shekhar Sharma

Itearate Over HashMap

Iterate over a HashMap

In this post, we have seen how to add the element to HashMap. In this post, we will see how to iterate over a HashMap. We can iterate over a HashMap by using two ways....

Add to HashMap

Add elements to HashMap

In this post, we have seen about HashMap. In this post, we will learn how to add elements to HashMap. We need to use method put to add the values to HashMap. Syntax: HashMap<key,...

HashMap in java

HashMap in java

In the Previous post, we have learnt about TreeSet in java. In this post, we will learn HashMap in java. HashMap has the following features. HashMap implements Map Interface and extends AbstratMap class. It...

TreeSet in java

TreeSet in Java

In the previous post, we have learnt about LinkedHashSet. In this post, we will learn about TreeSet in java. TreeSet has the following features. Contains unique elements like HashSet. The TreeSet class implements NavigableSet...

LinkedHashSet in java

LinkedHashSet in java

In the previous post, we have learnt about HashSet in java. In this post, we will see about the LinkedHashSet in java. It also implements Set interface like HashSet but it maintains insertion order. It...

HashSet in java

HashSet in java

In this previous post, we have seen how to Iterate over a Vector. In this post, we will learn about HashSet in java. HashSet has the following features. HashSet implements Set interface. It does not...

Iterate over a vector using Enumeration

Iterate over a vector using Enumeration

In the previous post, we have seen how to sort the vector. In this post, we will see how to iterate over a vector using enumeration. Create a vector and add element to it....

Sort a Vector using Collections.sort

Sort a Vector using Collections.sort()

In the previous post, we have seen how to get the sublist from vector. In this pos, we will see how to sort a vector using Collections.sort(). Vector maintains insertion order in which they...

Get Sublist from Vector

Get Sublist from Vector

In the previous post, we have seen how to remove the element from a particular position. In this post, we will see how to get sublist from vector. There is method ‘subList(int fromIndex,int toIndex)‘...