SortedMap Interface in Java

SortedMap is a collection framework interface. It guarantees that the entries are kept in ascending key order. This interface is…

3 years ago

IdentityHashMap class in Java

The HashMap class is similar to the IdentityHashMap class. The IdentityHashMap implements the Map interface using Hashtable, and when comparing…

3 years ago

EnumSet in Java

What is EnumSet in Java? The EnumSet is a specialized implementation of the Set interface designed for use with enumeration…

3 years ago

AbstractSet in Java

AbstractSet is a Java Collection Framework class that implements the Collection interface and extends the AbstractCollection class. It implements the…

3 years ago

CopyOnWriteArrayList class

The CopyOnWriteArrayList class, which implements the List interface, is introduced in JDK 1.5. It is an enhanced version of ArrayList…

3 years ago

AbstractSequential List in Java

The Java Collection Framework includes the AbstractSequential List class, which implements the Collection interface, and the AbstractCollection class. It is…

3 years ago

Abstract List in Java

This class provides a skeletal implementation of the List interface in order to reduce the effort required to implement this…

3 years ago

File class in Java

The File class represents a file or directory path name in Java. Because file and directory names differ between platforms, naming them with a simple string is insufficient. The File class is used to create files and directories, search for files, delete files, and so on. Fields of File Class…

3 years ago

Inner class in Java

In Java, an inner class is a class that is declared within another class or interface. To summarize, the same…

3 years ago

Java connectivity to MongoDB database

MongoDB is a no-SQL database that is document-oriented. MongoDB, which was first released in 2009, successfully replaced rows and columns…

3 years ago