listing continued if(hasharray[ !nullsystem out print(hasharray[jgetkey()")else system out print("*")system out println("")/public int hashfunc (int keyreturn key arraysize/public int hashfunc (int key/non-zeroless than array sizedifferent from hf /array size must be relatively prime to and return key //insert dataitem public void insert(int keydataitem item/(assumes table not fullint hashval hashfunc (key)/hash the key int stepsize hashfunc (key)/get step size /until empty cell or - while(hasharray[hashval!null &hasharray[hashvalgetkey(!- hashval +stepsize/add the step hashval %arraysize/for wraparound hasharray[hashvalitem/insert item /end insert(/public dataitem delete(int key/delete dataitem int hashval hashfunc (key)/hash the key int stepsize hashfunc (key)/get step size