Courses
Tutorials
Practice
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
37.5K+ articles
DSA
22.8K+ articles
Java
10.8K+ articles
Misc
8.8K+ articles
Java-Functions
4.2K+ articles
Java - util package
1.6K+ articles
Java-Collections
1.1K+ articles
Queue
371+ articles
java-basics
330+ articles
Java-ConcurrentLinkedQueue
14+ articles
java-queue
22 posts
Recent Articles
Popular Articles
Java Collection Exercise
Last Updated: 12 March 2024
The Java Collection framework is a fundamental part of the Java programming language, It covers a major part of Java and acts as a prerequisite for many Advanced Java Topi...
read more
Java
Java-Collections
Java Programs
Java-ArrayList
Java-HashMap
java-priority-queue
java-hashset
java-set
java-queue
java-map
Java-Collection-Programs
How to Create a Thread-Safe Queue in Java?
Last Updated: 04 March 2024
In Java, thread-safe is defined as the Queue data structure and it allows multiple threads to safely add and remove elements from the queue concurrently without any data c...
read more
Java
Java Programs
java-queue
Picked
Java Examples
How to Implement a FIFO (First-In-First-Out) Queue in Java?
Last Updated: 14 February 2024
FIFO stands for First In, First Out, which is a common way of organizing and manipulating Data Structure. In FIFO, the first element that is added to the data structure is...
read more
Java
Java Programs
java-queue
Picked
Java Examples
How to Implement a Circular Queue in Java ?
Last Updated: 13 February 2024
A Circular Queue is a queue in which we can insert an element at the start of the Array even if our rare is reached at the last index and if we have space at the start of ...
read more
Java
Java Programs
java-queue
Picked
Java Examples
How to Iterate over a Queue in Java?
Last Updated: 25 January 2024
Queue is a concept of Linear Data Structure that follows the concept of FIFO(First In First Out). Queues are majorly used to maintain the order of the elements to which th...
read more
Java
Queue
Java-Collections
Java Programs
java-queue
Picked
Java-Queue-Programs
Java Examples
Conversion of a List to a Queue in Java
Last Updated: 25 January 2024
In this article, We will learn about how to convert a List to a Queue in Java using various methods.PrerequisiteQueue Interface in JavaList Interface in JavaMethods to Con...
read more
Java
Java-Collections
Java Programs
java-list
java-queue
Picked
Java Examples
How to Implement Queue in Java using Array and Generics?
Last Updated: 14 February 2023
The queue is a linear data structure that follows the FIFO rule (first in first out). We can implement Queue for not only Integers but also Strings, Float, or Characters. ...
read more
Java
Queue
Java Programs
java-queue
DSA
TransferQueue Interface in Java
Last Updated: 24 November 2020
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 a...
read more
Java
Java-Collections
java-queue
Static and Dynamic Data Structures
Last Updated: 06 June 2024
Data structures are the fundamental building blocks of computer programming. They determine how data is organized, stored, and manipulated within a software application. T...
read more
Arrays
Linked List
Tree
Java
Stack
Queue
Algorithms
Advanced Data Structure
Data Structures
Java-Arrays
java-queue
Java-Stack
Java-Vector
DSA
ConcurrentLinkedQueue offer() method in Java
Last Updated: 26 November 2018
The offer() method of ConcurrentLinkedQueue is used to insert the element, passed as parameter, at the tail of this ConcurrentLinkedQueue. This method returns True if inse...
read more
Java
Java-Collections
java-basics
Java - util package
Java-Functions
java-queue
Java-ConcurrentLinkedQueue
ConcurrentLinkedQueue peek() method in Java
Last Updated: 26 November 2018
The peek() method of ConcurrentLinkedQueue is used to return the head of the ConcurrentLinkedQueue. It retrieves but does not remove, the head of this ConcurrentLinkedQueu...
read more
Java
Java-Collections
java-basics
Java - util package
Java-Functions
java-queue
Java-ConcurrentLinkedQueue
ConcurrentLinkedQueue isEmpty() method in Java
Last Updated: 26 November 2018
The isEmpty() method of ConcurrentLinkedQueue is used to check if this queue is empty or not. It returns true if ConcurrentLinkedQueue contains zero number of elements mea...
read more
Java
Java-Collections
java-basics
Java - util package
Java-Functions
java-queue
Java-ConcurrentLinkedQueue
ConcurrentLinkedQueue poll() method in Java
Last Updated: 26 November 2018
The poll() method of ConcurrentLinkedQueue is used to remove and return the head of this ConcurrentLinkedQueue. If the ConcurrentLinkedQueue is empty then this method will...
read more
Java
Java-Collections
java-basics
Java - util package
Java-Functions
java-queue
Java-ConcurrentLinkedQueue
ConcurrentLinkedQueue add() method in Java
Last Updated: 26 November 2018
The add() method of ConcurrentLinkedQueue is used to insert the element, passed as parameter to add() of ConcurrentLinkedQueue, at the tail of this ConcurrentLinkedQueue. ...
read more
Java
Java-Collections
java-basics
Java - util package
Java-Functions
java-queue
Java-ConcurrentLinkedQueue
ConcurrentLinkedQueue iterator() method in Java
Last Updated: 26 November 2018
The iterator() method of ConcurrentLinkedQueue is used to returns an iterator of the same elements as this ConcurrentLinkedQueue in a proper sequence. The elements returne...
read more
Java
Java-Collections
java-basics
Java - util package
Java-Functions
java-queue
Java-ConcurrentLinkedQueue
1
2
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 !