question: public synchronized boolean removeLast ( K obj ) { if ( peekLast ( ) != obj ) { return false ; } array = Arrays . copyOf ( array , array . length - 1 ) ; return true ; }
target:  Remove the last element, if it matches.