code: public synchronized void moveToTop()
    {
      if (tc.isEntryEnabled())
        SibTr.entry(tc, "moveToTop");
  
      checkEntryParent();
  
      //record the reference to the parent list because the call to forceRemove
      //will nullify it.
      LinkedList list = parentList;
      synchronized(list)
      {
        //remove the cursor from it's current postion
        forceRemove();
        //reset the parent list reference
        parentList = list;
        //mark this cursor as being at the top
        atTop = true;
        
        //link this cursor to the first cursor in the list's list of cursors
        //which are currently at the top
        next = list.firstTopCursor;
        //link the old first cursor to this one 
        if(next != null) next.previous = this;
        //mark this one as the first cursor in the list
        list.firstTopCursor = this;
      }
      
      if (tc.isEntryEnabled())
        SibTr.exit(tc, "moveToTop");
    }
docs: Synchronized. Move the cursor to the top of the list.