|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.abstracthorizon.mercury.maildir.uid.UID
public class UID
This class represents UID number
Field Summary | |
---|---|
protected long |
uid
Uid number |
Constructor Summary | |
---|---|
UID(long uid)
Constructor |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compares two UID objects |
long |
getUID()
Returns uid number |
int |
hashCode()
Returns uid converted to integer as hash code. |
String |
toString()
Returns uid as long converted to string |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected long uid
Constructor Detail |
---|
public UID(long uid)
uid
- uidMethod Detail |
---|
public long getUID()
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
UID
objects
equals
in class Object
o
- object to be compared with
true
if uids are the samepublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |