public double negativeRatio(){
  return (double)negatives / (double)occupiedBits;
}

public double negativeRatio ( ) { return ( double ) negatives / ( double ) occupiedBits ; }
returns the ratio of positive bits to the number of occupied bits .
