All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmlens.trace.agent.bootstrap.interleave.actualAccess.Comparator4ActualAccess Maven / Gradle / Ivy

There is a newer version: 1.1.5
Show newest version
package com.vmlens.trace.agent.bootstrap.interleave.actualAccess;

import java.util.Comparator;

public class Comparator4ActualAccess implements Comparator {

	@Override
	public int compare(ActualAccess o1, ActualAccess o2) {
		
		if( o1.threadIndex != o2.threadIndex )
		{
		   return	Integer.compare( o1.threadIndex , o2.threadIndex);
		}
		
		
		
		return Integer.compare( o1.position , o2.position);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy