Queue Interface in Java

The Queue interface extends the Collection interface and is present in java.util package is used to hold the elements about…

2 years ago

SortedMap Interface in Java

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

2 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…

2 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…

2 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…

2 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…

2 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…

2 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…

2 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…

2 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…

2 years ago