org.apache.felix.framework.searchpolicy
Class R4SearchPolicyCore.PackageSource
java.lang.Object
org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.PackageSource
- All Implemented Interfaces:
- java.lang.Comparable
- Enclosing class:
- R4SearchPolicyCore
public class R4SearchPolicyCore.PackageSource
- extends java.lang.Object
- implements java.lang.Comparable
This utility class represents a source for a given package, where
the package is indicated by a particular module and the module's
capability associated with that package. This class also implements
Comparable so that two package sources can be compared based
on version and bundle identifiers.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
m_module
public IModule m_module
m_capability
public ICapability m_capability
R4SearchPolicyCore.PackageSource
public R4SearchPolicyCore.PackageSource(IModule module,
ICapability capability)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo in interface java.lang.Comparable
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object