@ SuppressWarnings ( "unused" ) protected Entry getPrevEntry ( MemberState member ) { long prevIndex = Math . min ( member . getNextIndex ( ) - 1 , context . getLog ( ) . lastIndex ( ) ) ; while ( prevIndex > 0 ) { Entry entry = context . getLog ( ) . get ( prevIndex ) ; if ( entry != null ) { return entry ; } prevIndex -- ; } return null ; }
Gets the previous entry .