Assertion: queue's element | /r/CapableOf | throw nosuchelementexception
Facets:
Source sentences:
text: They differ from one another in precisely the same fashion as remove and poll : If the queue is empty, element throws NoSuchElementException , while peek returns null .