anthill.types
Interface DocumentId

All Superinterfaces:
Comparable
All Known Implementing Classes:
SimpleDocumentId

public interface DocumentId
extends Comparable

Version:
$Revision: 1.1 $
Author:
Alberto Montresor (montresor@cs.unibo.it)

Field Summary
static String NAME
           
 
Method Summary
 byte[] getDigest()
          Returns the byte representation of the digest associated to this document identifier.
 int getLength()
          Returns the length of the document
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Method Detail

getLength

public int getLength()
Returns the length of the document


getDigest

public byte[] getDigest()
Returns the byte representation of the digest associated to this document identifier.