Compare hash values of objects
if ( hash . get ( objects . get ( i ) ) <= last_element ) { j ++ ; Collections . swap ( objects , i , j ) ; } } j ++ ; Collections . swap ( objects , j , r ) ; return j ; }