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

org.openbakery.simulators.SimulatorRuntimeComparator Maven / Gradle / Ivy

Go to download

XCode-Plugin is a plugin to allow custom XCode projects to build as generated by CMake

There is a newer version: 0.0.201
Show newest version
package org.openbakery.simulators;

import java.util.Comparator;

public class SimulatorRuntimeComparator implements Comparator {
	@Override
	public int compare(SimulatorRuntime first, SimulatorRuntime second) {

		int result = first.getType().getValue().compareTo(second.getType().getValue());
		if (result != 0) {
			return result;
		}

		return second.getVersion().compareTo(first.getVersion());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy