- o
- element to be removed from this deque, if present
Documentation for this section has not yet been entered.
Type Reason Java.Lang.ClassCastException if the class of the specified element is incompatible with this deque (optional) Java.Lang.NullPointerException if the specified element is null (optional)
Removes the last occurrence of the specified element from this deque. If the deque does not contain the element, it is unchanged. More formally, removes the last element e such that o.equals(e) (if such an element exists). Returns true if this deque contained the specified element (or equivalently, if this deque changed as a result of the call).