Assertion: queue's element | /r/HasProperty | given
Facets:
Source sentences:
text: Here are two examples of checking if a Java Queue contains a given element:
text: The contains() method will return true if the Queue contains the given element, and false if not.