contains All
Tests whether this Queue contains all the given elements.
This function calls contains for each given element in elements until it either finds an element that does not exist in this Queue (at which point it returns false
), or until it reaches the end of the array of given elements.
Return
true
if this Queue contains all the given elements, otherwise false
.
Parameters
elements
Elements to test for.
Tests whether this Queue contains all the given elements.
This function calls contains for each given element in elements until it either finds an element that does not exist in this Queue (at which point it returns false
), or until it reaches the end of the collection of given elements.
Return
true
if this Queue contains all the given elements, otherwise false
.
Parameters
elements
Elements to test for.