Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Java
10.1k+ articles
Difference Between
4.2k+ articles
Java-Functions
4.1k+ articles
Misc
2.1k+ articles
Java - util package
1.5k+ articles
Java-Collections
1.1k+ articles
java-basics
310+ articles
Java-LinkedBlockingDeque
49 articles
Java-ConcurrentLinkedDeque
31 articles
Java-ArrayBlockingQueue
20 articles
Java-ArrayDeque
39 posts
Popular Articles
Recent Articles
Deque addFirst() method in Java with Examples
Last Updated: 21 September 2018
The addFirst(E e) method of Deque Interface inserts the element passed in the parameter to the front of the Deque if there is space. If the
...read more
Java
Java-Functions
Java-ArrayDeque
Java-LinkedBlockingDeque
Java-ConcurrentLinkedDeque
ArrayDeque in Java
Last Updated: 14 February 2025
In Java, the ArrayDeque is a resizable array implementation of the Deque interface, which stands for double-ended queue. It allows elements
...read more
Java
Java-Collections
Java-ArrayDeque
ArrayDeque toArray() Method in Java
Last Updated: 10 December 2018
The java.util.ArrayDeque.toArray() method is used to form an array of the same elements as that of the Deque. Basically, the method copies a
...read more
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
Similar Topics
Java
10.1k+ articles
Difference Between
4.2k+ articles
Java-Functions
4.1k+ articles
Misc
2.1k+ articles
Java - util package
1.5k+ articles
Java-Collections
1.1k+ articles
java-basics
310+ articles
Java-LinkedBlockingDeque
49+ articles
Java-ConcurrentLinkedDeque
31+ articles
Java-ArrayBlockingQueue
20+ articles
ArrayDeque pop() Method in Java
Last Updated: 10 December 2018
The Java.util.ArrayDeque.pop() method in Java is used to pop an element from the deque. The element is popped from the top of the deque and
...read more
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque push() Method in Java
Last Updated: 10 December 2018
The Java.util.ArrayDeque.push(E element) method is used to push an element into the Deque. The operation is similar to the operation in the
...read more
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque iterator() Method in Java
Last Updated: 10 December 2018
The Java.util.ArrayDeque.iterator() method is used to return an iterator of the elements of the ArrayDeque.Syntax:Iterator iterate_value = A
...read more
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
...read more
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 no
...read more
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 pee
...read more
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() met
...read more
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()Parameter
...read more
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
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
...read more
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque removeFirst() Method in Java
Last Updated: 10 December 2018
The Java.util.ArrayDeque.removeFirst() method is used to remove the first element of the Deque.Syntax:Array_Deque.removeFirst()Parameters: T
...read more
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
ArrayDeque isEmpty() Method in Java
Last Updated: 10 December 2018
The Java.util.ArrayDeque.isEmpty() method in Java is used to check and verify if an ArrayDeque is empty or not. It returns True if the Deque
...read more
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:Ar
...read more
Java
Java-Collections
Java - util package
Java-Functions
Java-ArrayDeque
1
2
3
>>
Last
1
2
3
>>
Last
1
2
3
>>
Last
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 !