public void delete ( Object element , boolean testForEquality ) { int index = indexOfFromTo ( element , 0 , size - 1 , testForEquality ) ; if ( index >= 0 ) removeFromTo ( index , index ) ; }
Deletes the first element from the receiver that matches the specified element . Does nothing if no such matching element is contained .