|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.classworlds.realm.Entry
public class Entry
Import description entry.
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. |
int |
hashCode()
Consistent with equals(java.lang.Object) , this method creates a hashCode
based on the packagename. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int compareTo(java.lang.Object thatObj)
compareTo
in interface java.lang.Comparable
thatObj
- 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.Object
thatObj
- 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
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |