int function ( ) { int loc0 = set . length ( ) , loc1 = 0 ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 ++ ) { if ( set . get ( loc2 ) ) { loc1 ++ ; } } if ( loc1 == 0 ) { return 0 ; } return Math . max ( 1 , ( int ) ( 100L * loc1 / loc0 ) ) ; }
get the fill rate of the space in percent . the value 0 means the space is completely free , and 100 means it is completely full . concode_field_sep int firstFreeBlock concode_elem_sep boolean DETAILED_INFO concode_elem_sep int blockSize concode_elem_sep BitSet set concode_field_sep int getBlock concode_elem_sep long getFirstFree concode_elem_sep boolean isFree concode_elem_sep long allocate concode_elem_sep long getPos concode_elem_sep void clear concode_elem_sep String toString concode_elem_sep void markUsed concode_elem_sep int getBlockCount concode_elem_sep void free concode_elem_sep boolean isUsed