Skip to content

Tag Archives: java-AbstractSequentialList

The size() method of AbstractSequentialList in Java is used to get the size for this instance of the AbstractSequentialList. It returns an integer value which… Read More
The containsAll() method of Java AbstractSequentialList is used to check whether two Collections contain the same elements or not. It takes one collection as a… Read More
The lastIndexOf() method of java.util.AbstractSequentialList class is used to return the index of the first occurrence of the specified element in this list, or -1… Read More
The hashCode() method of AbstractSequentialList in Java is used to get the hashCode value for this instance of the AbstractSequentialList. It returns an integer value… Read More
The retainAll() method of java.util.AbstractSequentialList class is used to retain from this list all of its elements that are contained in the specified collection. Syntax:… Read More
The subList() method of AbstractSequentialList in Java is used to get a view of the portion of this list between the specified fromIndex, inclusive, and… Read More
The toArray() method of Java AbstractSequentialList is used to form an array of the same elements as that of the AbstractSequentialList. Basically, it copies all… Read More
The toArray(arr[]) method method of AbstractSequentialList class in Java is used to form an array of the same elements as that of the AbstractSequentialList. It… Read More
The contains() method of Java AbstractSequentialList is used to check whether an element is present in a Collection or not. It takes the element as… Read More
The toString() method of Java AbstractSequentialList is used to return a string representation of the elements of the Collection. The String representation comprises a list… Read More
The clear() method of AbstractSequentialList in Java is used to remove all the elements from a list. The list will be empty after this call… Read More
The indexOf() method of java.util.AbstractSequentialList class is used to return the index of the first occurrence of the specified element in this list, or -1… Read More
The set() method of Java AbstractSequentialList is used to replace any particular element in the list created using the AbstractSequentialList class with another element. This… Read More
The removeAll() method of java.util.AbstractSequentialList class is used to remove from this list all of its elements that are contained in the specified collection. Syntax:… Read More
The isEmpty() method of AbstractSequentialList in Java is used to check whether this AbstractSequentialList is empty or not. It returns an boolean value stating the… Read More