listing continued previous next current next/delete current link /end delete(/public link find(int key/find link link current first/start at first /until end of listwhile(current !null &current getkey(<key/or key too smallif(current getkey(=key/is this the linkreturn current/found itreturn link current current next/go to next item return null/didn' find it /end find(/public void displaylist(system out print("list (first-->last)")link current first/start at beginning of list while(current !null/until end of listcurrent displaylink()/print data current current next/move to next link system out println("")/end class sortedlist ///////////////////////////////////////////////////////////////class hashtable private sortedlist[hasharray/array of lists private int arraysize/public hashtable(int size/constructor arraysize sizehasharray new sortedlist[arraysize]/create array for(int = <arraysizej++/fill array hasharray[jnew sortedlist()/with lists