|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.primus.searchcommon.ConstantID
public class ConstantID
Constructor Summary | |
---|---|
ConstantID(long id)
|
|
ConstantID(java.lang.Long id)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this ConstantID to another. |
int |
hashCode()
Compute hash code for this ConstantID. |
int |
toInt()
Return Long representation of this ConstantID. |
java.lang.Long |
toLong()
Return Long representation of this ConstantID. |
java.lang.String |
toString()
Return string representation of this ConstantID. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConstantID(long id)
public ConstantID(java.lang.Long id)
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object to compare this ConstantID to
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Long toLong()
public int toInt()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |