org.codehaus.plexus.classworlds.realm
public class Entry extends Object implements Comparable
| Field Summary | |
|---|---|
| String | pkgName |
| ClassRealm | realm |
| Constructor Summary | |
|---|---|
| Entry(ClassRealm realm, String pkgName) | |
| Method Summary | |
|---|---|
| int | compareTo(Object thatObj)
Compare this entry to another for relative ordering.
|
| boolean | equals(Object thatObj)
Test this entry for equality to another.
|
| String | getPackageName()
Retrieve the package name.
|
| ClassRealm | getRealm()
Retrieve the realm.
|
| int | hashCode()
Consistent with Entry, this method creates a hashCode
based on the packagename.
|
| boolean | matches(String classname)
Determine if the classname matches the package
described by this entry.
|
| String | toString() |
Parameters: thatObj The object to compare.
Returns: -1 if this object sorts before that object, 0 if they are equal, or 1 if this object sorts after that object.
Parameters: thatObj The object to compare
Returns: true if the two objects are
semantically equivalent, otherwise false.
Returns: The package name.
Returns: The realm.
Parameters: classname The class name to test.
Returns: true if this entry matches the
classname, otherwise false.