Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.leopard.topnb.util;
 
 
 
 
	public int compare(PerformanceVO o1PerformanceVO o2) {
		double count = o2.getCount() - o1.getCount();
		if (count > 0) {
			return 1;
		}
		else if (count == 0) {
			return 0;
		}
		else {
			return -1;
		}
	}
New to GrepCode? Check out our FAQ X