listing linked lists continued else /not empty newlink next current nextcurrent next newlinknextlink()/point to new link //public void insertbefore(long dd/insert before /current link link newlink new link(dd)if(previous =null/beginning of list /(or empty listnewlink next ourlist getfirst()ourlist setfirst(newlink)reset()else /not beginning newlink next previous nextprevious next newlinkcurrent newlink//public long deletecurrent(/delete item at current long value current ddataif(previous =null/beginning of list ourlist setfirst(current next)reset()else /not beginning previous next current nextifatend(reset()else