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

net.sf.aguacate.connector.spi.ConnectorHttpParameterComparatorAlt Maven / Gradle / Ivy

There is a newer version: 0.10.9
Show newest version
package net.sf.aguacate.connector.spi;

import java.util.Comparator;

final class ConnectorHttpParameterComparatorAlt implements Comparator {

	@Override
	public int compare(Object o1, Object o2) {
		return compare0((ConnectorHttpParameter) o1, (String) o2);
	}

	int compare0(ConnectorHttpParameter o1, String o2) {
		return o1.getName().compareTo(o2);
	}

}