@ Override @ SuppressWarnings ( "unchecked" ) public < E > Comparator < E > getOrderBy ( ) { return ObjectUtils . defaultIfNull ( ComparatorHolder . get ( ) , ObjectUtils . defaultIfNull ( orderBy , ComparableComparator . INSTANCE ) ) ; }
Gets the Comparator used to order the elements in the collection .