aQute.lib.deployer.RDImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biz.aQute.bndlib Show documentation
Show all versions of biz.aQute.bndlib Show documentation
bndlib: A Swiss Army Knife for OSGi
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;
}
}