void function ( int arg0 ) { if ( arg0 >= PRIMES . length ) throw new InternalError ( "srini_string" ) ; cap = arg0 ; int loc0 = PRIMES [ arg0 ] ; objectTable = new Object [ loc0 ] ; intTable = new int [ loc0 ] ; limit = loc0 / 4 * 3 ; size = 0 ; }
helper function to alloc the object and int array for the given capacity . set limit , reset size to 0 . no elements will be stored in the newly allocated arrays . concode_field_sep int limit concode_elem_sep int[] PRIMES concode_elem_sep Object[] objectTable concode_elem_sep int cap concode_elem_sep int[] intTable concode_elem_sep int size concode_elem_sep Object NIL concode_field_sep int get concode_elem_sep void clear concode_elem_sep void rehash concode_elem_sep int slot concode_elem_sep void put