public boolean remove(int value){
  int index=value % this.numBuckets;
  Bucket bucket=this.buckets[index];
  if (bucket == null || bucket.length == 0)   return false;
  int i;
  for (i=0; i < bucket.length; i++) {
    if (bucket.values[i] == value)     break;
  }
  if (i == bucket.length)   return false;
  if (i < bucket.length - 1) {
    System.arraycopy(bucket.values,i + 1,bucket.values,i,bucket.length - i - 1);
  }
  bucket.length--;
  this.size--;
  return true;
}

public boolean remove ( int value ) { int index = value % this . numBuckets ; Bucket bucket = this . buckets [ index ] ; if ( bucket == null || bucket . length == 0 ) return false ; int i ; for ( i = 0 ; i < bucket . length ; i ++ ) { if ( bucket . values [ i ] == value ) break ; } if ( i == bucket . length ) return false ; if ( i < bucket . length - 1 ) { System . arraycopy ( bucket . values , i + 1 , bucket . values , i , bucket . length - i - 1 ) ; } bucket . length -- ; this . size -- ; return true ; }
removes the specified value from this set . if this set does not contain the value , this does nothing and returns false . otherwise this removes the value and returns true .
