public synchronized void moveToBottom ( ) { if ( tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "moveToBottom" ) ; checkEntryParent ( ) ; //record the parent list LinkedList list = parentList ; synchronized ( list ) { //remove the cursor from it current position forceRemove ( ) ; //reset the parent list parentList = list ; //mark it as at the bottom atBottom = true ; //insert it in front of the old first bottom cursor next = list . firstBottomCursor ; if ( next != null ) next . previous = this ; //mark this on as the first bottom cursor list . firstBottomCursor = this ; } if ( tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "moveToBottom" ) ; }
Synchronized . Move the cursor to the bottom of the list .