public boolean remove ( int s , Object o ) { if ( o == null ) throw new NullPointerException ( ) ; int mask = 1 << s ; int oldMask = removeMask ( logs , data , masks , o , mask ) ; int newMask = oldMask & ~ mask ; if ( newMask == oldMask ) return false ; // else if ( newMask == 0 && -- occupied == LinearProbing . getLowerSize ( data . length ) ) shrink ( ) ; sizes [ s ] -- ; return true ; }
Removes the given object from the given slice