Assertion: interface's method | /r/HasProperty | removefirst
Facets:
Source sentences:
text: The methods pollFirst and pollLast return null if the Deque is empty whereas the methods removeFirst and removeLast throw an exception if the Deque instance is empty.