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

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

Go to download

A command line utility and Ant plugin to wrap, build, or examine bundles.

There is a newer version: 2.4.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