int remove ( T object ) { int positionOfRemove = mObjects . indexOf ( object ) ; if ( positionOfRemove >= 0 ) { T objectRemoved = removeAt ( positionOfRemove ) ; if ( objectRemoved != null ) { return positionOfRemove ; } } return - 1 ; }
Remove the specified object of the array .