Java 8 Predicates
In Java 8, Predicate is a functional interface, which accepts an argument and returns a boolean. Usually, it used to apply in a filter for
In Java 8, Predicate is a functional interface, which accepts an argument and returns a boolean. Usually, it used to apply in a filter for
To the point difference between the different map collection type The following are the important differences between TreeMap, HashMap and LinkedHashMap. Sr. No.
Encapsulation in Java or object-oriented programming language is a concept that enforces protecting variables, functions from outside of class, in order to better
1. fail-fast Iterators in Java As the name suggests fail-fast Iterators fail as soon as they realized that structure of Collection has been changed since iteration has
Java TreeSet class Java TreeSet class implements the Set interface that uses a tree for storage. It inherits AbstractSet class and implements the
What is Concurrent HashMap in Java The ConcurrentHashMap class provides a concurrent version of the standard HashMap. So its functionality is similar to
Important point to remember about the HashMap in java? A primitive type cannot be a key or a value of the HashMap. Only
Understand Set, lets see how HashSet works HashSet uses HashMap internally in Java.HashSet implements Set interface. It guarantees uniqueness. It is achieved by
Garbage collection in java is one of the advance topic. Java GC knowledge helps us in fine tuning our application runtime performance. Table