question: @ SuppressWarnings ( "cast" ) @ Override public boolean contains ( final Object obj ) { if ( null != obj ) { Iterator < E > it = new ArrayDequeIterator < E > ( ) ; while ( it . hasNext ( ) ) { if ( obj . equals ( ( E ) it . next ( ) ) ) { return true ; } } } return false ; }
target:  Returns true if the specified element is in the deque.