public class Package extends Object implements AnnotatedElement
Package
represent a Java package.Constructor and Description |
---|
Package() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return the name of this package.
|
int |
hashCode()
Return the hash code computed from the package name.
|
String |
toString()
Returns the string representation of this Package.
|
public String getName()
java.lang
public int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
public String toString()