@ Override public int compare ( E entity1 , E entity2 ) { T value = property . get ( entity1 ) ; T value2 = property . get ( entity2 ) ; return value . compareTo ( value2 ) ; }
Compares the specified two entities .