sorts this model by the order defined by comparator implementing class . reverse the model if you have passed the same comparator instance as the previous comparator instance . sorts by natural order if comparator parameter is null . concode_field_sep JupiterLogger log concode_elem_sep Comparator<ReviewIssue> comparator concode_elem_sep List<ReviewIssue> reviewIssueOrdinalList concode_elem_sep ListenerList listenerList concode_elem_sep boolean isReversed concode_elem_sep Map<String,String> targetFileMap concode_elem_sep Map<String,ReviewIssue> reviewIssueMap concode_elem_sep ReviewIssue notifyTargetReviewIssue concode_field_sep boolean add concode_elem_sep void notifyListeners concode_elem_sep void notifyListeners concode_elem_sep void clear concode_elem_sep void sortByPreviousComparator concode_elem_sep void removeListener concode_elem_sep boolean remove concode_elem_sep boolean contains concode_elem_sep Iterator<ReviewIssue> iterator concode_elem_sep int size concode_elem_sep void addAll concode_elem_sep ReviewIssue get concode_elem_sep String[] getTargetFileArray concode_elem_sep Object[] getElements concode_elem_sep void dispose concode_elem_sep void inputChanged concode_elem_sep void clearComparator concode_elem_sep void addListener
void function ( Comparator < ReviewIssue > arg0 ) { if ( this . comparator == arg0 ) { Collections . reverse ( reviewIssueOrdinalList ) ; isReversed = ! isReversed ; } else { Collections . sort ( reviewIssueOrdinalList , arg0 ) ; isReversed = false ; this . comparator = arg0 ; } }