Package org.openjdk.jmc.common.util
Class MCPackage
java.lang.Object
org.openjdk.jmc.common.util.MCPackage
- All Implemented Interfaces:
IDescribable,IMCPackage
Base implementation of the
IMCPackage interface.-
Method Summary
-
Method Details
-
getName
Description copied from interface:IMCPackageReturns the package name.An example is "java.lang".
- Specified by:
getNamein interfaceIDescribable- Specified by:
getNamein interfaceIMCPackage- Returns:
- package name
-
getModule
- Specified by:
getModulein interfaceIMCPackage- Returns:
- the module in which this package resides, or null if it's in a pre-modules environment
-
isExported
- Specified by:
isExportedin interfaceIMCPackage- Returns:
trueif the package is exported from it's module, or if it's in a pre modules environment,falseotherwise
-
toString
-
getDescription
- Specified by:
getDescriptionin interfaceIDescribable- Returns:
- the description of this object
-
hashCode
public int hashCode() -
equals
-