The java.util.concurrent.ConcurrentLinkedDeque.isEmpty() is an in-built function in Java which checks whether the deque contains elements or not.
public boolean isEmpty()
Parameters: The function does not accepts any parameter.
Return: This method returns a boolean value stating whether this deque is empty or not.
Below programs illustrate the ConcurrentLinkedDeque.isEmpty() method:
ConcurrentLinkedDeque:  Is deque empty: true
ConcurrentLinkedDeque: [GFG, Gfg, GeeksforGeeks, Geeks] Is deque empty: false
Attention reader! Don’t stop learning now. Get hold of all the important Java Foundation and Collections concepts with the Fundamentals of Java and Java Collections Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course.