|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.classworlds.Entry
class Entry
Import description entry.
| Field Summary | |
|---|---|
private java.lang.String |
pkgName
|
private ClassRealm |
realm
|
| Constructor Summary | |
|---|---|
Entry(ClassRealm realm,
java.lang.String pkgName)
|
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object thatObj)
Compare this entry to another for relative ordering. |
boolean |
equals(java.lang.Object thatObj)
Test this entry for equality to another. |
(package private) java.lang.String |
getPackageName()
Retrieve the page name. |
(package private) ClassRealm |
getRealm()
Retrieve the realm. |
int |
hashCode()
Consistent with equals(java.lang.Object), this method creates a hashCode
based on the packagename. |
(package private) boolean |
matches(java.lang.String classname)
Determine if the classname matches the package described by this entry. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final ClassRealm realm
private final java.lang.String pkgName
| Constructor Detail |
|---|
Entry(ClassRealm realm,
java.lang.String pkgName)
| Method Detail |
|---|
ClassRealm getRealm()
java.lang.String getPackageName()
boolean matches(java.lang.String classname)
classname - The class name to test.
true if this entry matches the
classname, otherwise false.public int compareTo(java.lang.Object thatObj)
compareTo in interface java.lang.ComparablethatObj - The object to compare.
public boolean equals(java.lang.Object thatObj)
compareTo(java.lang.Object), this method tests
for equality purely on the package name.
equals in class java.lang.ObjectthatObj - The object to compare
true if the two objects are
semantically equivalent, otherwise false.public int hashCode()
equals(java.lang.Object), this method creates a hashCode
based on the packagename.
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||