Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.0K+ articles
Java
9.3K+ articles
Misc
7.8K+ articles
Java-Functions
4.2K+ articles
Java - util package
1.6K+ articles
Java-Collections
1.1K+ articles
java-basics
331+ articles
Java-LinkedBlockingDeque
49+ articles
Java-ConcurrentLinkedDeque
31+ articles
Java-ArrayDeque
39 posts
Recent Articles
Popular Articles
ArrayDeque removeLast() Method in Java
Last Updated: 10 December 2018
The Java.util.ArrayDeque.removeLast() method is used to remove the last element of the Deque.Syntax:Array_Deque.removeLast()Parameters: The method does not take any parame...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque remove() Method in Java
Last Updated: 10 December 2018
The Java.util.ArrayDeque.remove() method is used to remove the element present at the head of the Deque.Syntax:Array_Deque.remove()Parameters: The method does not take any...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque pollLast() Method in Java
Last Updated: 10 December 2018
The java.util.ArrayDeque.pollLast() method in Java is used to retrieve or fetch and remove the last element of the Deque. The peekLast() method only retrieved the element ...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque pollFirst() Method in Java
Last Updated: 10 December 2018
The java.util.ArrayDeque.pollFirst() method in Java is used to retrieve or fetch and remove the first element of the Deque. The peekFirst() method only retrieved the first...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque poll() Method in Java
Last Updated: 10 December 2018
The java.util.ArrayDeque.poll() method in Java is used to retrieve or fetch and remove the element present at the head of the Deque. The peek() method only retrieved the e...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque peekLast() Method in Java
Last Updated: 10 December 2018
The java.util.ArrayDeque.peekLast() method in Java is used to retrieve or fetch the last element of the deque. The element retrieved does not get deleted or removed from t...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque peekFirst() Method in Java
Last Updated: 10 December 2018
The java.util.ArrayDeque.peekFirst() method in Java is used to retrieve or fetch the first element of the deque. The element retrieved does not get deleted or removed from...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque peek() Method in Java
Last Updated: 10 December 2018
The java.util.ArrayDeque.peek() method in Java is used to retrieve or fetch the element at the head of the Deque. The element retrieved does not get deleted or removed fro...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque descendingIterator() Method in Java
Last Updated: 10 December 2018
The Java.util.ArrayDeque.descendingIterator() method is used to return an iterator of the same elements as the ArrayDeque but in the reverse order.Syntax:Iterator iterate_...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque offer() Method in Java
Last Updated: 10 December 2018
The Java.util.ArrayDeque.offer(Object element) method in Java is used to add a specific element at the end of the Deque. The function is similar to the offerLast() method ...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque offerLast() Method in Java
Last Updated: 11 July 2025
The Java.util.ArrayDeque.offerLast(Object element) method in Java is used to add a specific element at the end of this Deque. The function is similar to the addLast(), add...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque offerFirst() Method in Java
Last Updated: 11 July 2025
The Java.util.ArrayDeque.offerFirst(Object element) method in Java is used to add a specific element at the front of the Deque. The function is similar to the addFirst() ...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque addLast() Method in Java
Last Updated: 20 September 2022
The java.util.ArrayDeque.addLast(Object element) method in Java is used to insert a specific element at the end of this deque. It is similar to the add() method in Java. S...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque size() Method in Java
Last Updated: 10 December 2018
The Java.util.ArrayDeque.size() method in Java is used to get the size of the Deque or the number of elements present in the Deque.Syntax:Array_Deque.size()Parameters: The...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque clear() Method in Java
Last Updated: 10 December 2018
The Java.util.ArrayDeque.clear() method in Java is used to remove all of the elements from the Deque. Using the clear() method only clears all the element from the deque a...
read more
Misc
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
1
2
3
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !