Assertion: queue's method | /r/CapableOf | insert element
Facets:
Source sentences:
text: The add method, which Queue inherits from Collection , inserts an element unless it would violate the queue's capacity restrictions, in which case it throws IllegalStateException .