@ Override public int compare ( T entity1 , T entity2 ) { SortHandler shandler = new SortHandler ( sortControl ) ; return shandler . compareEntitysWithRespectToProperties ( ( Entity ) entity1 , ( Entity ) entity2 ) ; }
Compares its two objects for order . Returns a negative integer zero or a positive integer as the first argument is less than equal to or greater than the second .