Collection Write a program to sort Map based on value in java . Ravi Pratap Srivastav March 01, 2018 To Sort the Map based on the value, we can use following ways to solve the problem. These are 1. By Using TreeMap with ... Read more No comments:
Collection Write a program to sort a Map by Key in java. Ravi Pratap Srivastav February 28, 2018 To sort the Map based on the key we can use following methods. these are.. 1. Using TreeMap 2. Using Comparator 3. ... Read more No comments:
Sorting Write a Program in java to short a given array in one loop or in one iteration. Ravi Pratap Srivastav February 13, 2018 Here is a program to short a given array in one loop or in one iteration.here i a have given two methods. these are followings. Read more
Collection Difference between CopyOnWriteArraySet and synchronizedSet(). Ravi Pratap Srivastav February 13, 2018 Read more
Collection Difference between ArrayList and CopyOnWriteArrayList. Ravi Pratap Srivastav February 13, 2018 Read more
Collection Difference between HashMap and ConcurrentHashMap. Ravi Pratap Srivastav February 13, 2018 Read more
MultiThreading LifeCycle of a Thread in java. Ravi Pratap Srivastav February 12, 2018 A thread goes through various stages while executing or completing task like new/born, ready, runnable and finally dead state, these st... Read more
Miscellaneous Check whether two strings are anagram of each other or not. Ravi Pratap Srivastav January 29, 2018 An anagram is word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters e... Read more
Spring What is difference between BeanFactory and ApplicationContext in Spring framework? Ravi Pratap Srivastav January 17, 2018 Now a days the question "difference between BeanFactory and ApplicationContext in Spring framework? " has became most popular in... Read more
Miscellaneous Program to Check even or odd without using modulus and division operators. Ravi Pratap Srivastav January 16, 2018 To check Even or Odd we go through the checking of number that number is divisible by 2 or not if given number is divisible by 2 then we ... Read more