|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--anthill.types.SimpleDocumentId
Field Summary |
Fields inherited from interface anthill.types.DocumentId |
NAME |
Constructor Summary | |
SimpleDocumentId()
|
Method Summary | |
int |
compareTo(Object obj)
Compares this object with the specified object for order. |
boolean |
equals(Object obj)
Check whether this hashed keyword is equal to the specified object. |
byte[] |
getDigest()
Returns the byte representation of the digest associated to this document identifier. |
int |
getLength()
Returns the length of the document |
int |
hashCode()
Returns a hash code value for the object. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SimpleDocumentId()
Method Detail |
public int getLength()
getLength
in interface DocumentId
public byte[] getDigest()
getDigest
in interface DocumentId
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(Object obj) throws ClassCastException
compareTo
in interface Comparable
obj
- the object to be compared
ClassCastException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |