Skip to content

Tag Archives: Java-Collections

The remove(int index) method present in java.util.ArrayList class removes the element at the specified position in this list and shifts any subsequent elements to the… Read More
The array is a linear data structure containing elements whose size is defined at the time of creation and can hold both object and primitive… Read More
The Collection interface is a member of the Java Collections Framework. It is a part of java.util package. It is one of the root interfaces… Read More
The Java.lang.Cloneable interface is a marker interface. It was introduced in JDK 1.0. There is a method clone() in the Object class. Cloneable interface is… Read More
The ConcurrentSkipListMap class is a member of the Java Collections Framework. It was introduced in JDK 1.6, it belongs to java.util.concurrent package. The ConcurrentSkipListMap is… Read More
A PriorityQueue is used when the objects are supposed to be processed based on the priority. It is known that a Queue follows the First-In-First-Out… Read More
The TransferQueue interface is a member of the Java Collections Framework. It was introduced in JDK 1.7, it belongs to java.util.concurrent package. The TransferQueue is… Read More
The Serializable interface is present in java.io package. It is a marker interface. A Marker Interface does not have any methods and fields. Thus classes… Read More
The Collections class is used as a data structure to manage the data. We can add, remove, fetch, and update the data in the List,… Read More
ArrayBlockingQueue is a class in Java that implements the BlockingQueue interface. ArrayBlockingQueue class and its iterator implement all the optional methods of the Collection and… Read More
Collections class is a member of the Java Collections Framework. The java.util.Collections package is the package that contains the Collections class. Collections class is basically… Read More
List interface in Java is a sub-interface of the Java collections interface. It contains the index-based methods to insert, update, delete, and search the elements.… Read More
Java Collection provides an architecture to store and manipulate the group of objects. Here we will see how to compare Elements in a Collection in… Read More
A collection is a set of objects that hold references to other objects in the program. In doing the same we already have studied a… Read More
Java Collection provides an architecture to store and manipulate the group of objects. The datatype of data can be changed to general data type like… Read More