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

aQute.lib.deployer.RDImpl Maven / Gradle / Ivy

There is a newer version: 7.0.0
Show newest version
package aQute.lib.deployer;

import aQute.bnd.service.repository.SearchableRepository.ResourceDescriptor;

public class RDImpl extends ResourceDescriptor implements Cloneable, Comparable {

	public RDImpl clone() throws CloneNotSupportedException {
		return (RDImpl) super.clone();
	}

	public int compareTo(RDImpl o) {
		if (this == o)
			return 0;

		int r = bsn.compareTo(o.bsn);
		if (r == 0)
			r = version.compareTo(o.version);

		return r;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy