get the new rank number . concode_field_sep PlaceHolder placeHolder concode_field_sep void shiftRanks concode_elem_sep Pair<Integer,Integer> getRankBorders concode_elem_sep void rankToBottom concode_elem_sep void validateRankable concode_elem_sep RankDirection findOutRankDirection concode_elem_sep void rankUnder
int function ( Rankable arg0 , Rankable arg1 , RankDirection arg2 ) { if ( arg2 == RankDirection . TOP ) { return 0 ; } else if ( arg2 == RankDirection . UP ) { return arg1 . getRank ( ) + 1 ; } return arg1 . getRank ( ) ; }