edu.lehigh.swat.hawk.core
Class DocId

java.lang.Object
  extended by edu.lehigh.swat.hawk.core.DocId
All Implemented Interfaces:
java.io.Serializable

public class DocId
extends java.lang.Object
implements java.io.Serializable

encapsulating the id of each document

See Also:
Serialized Form

Constructor Summary
DocId(java.lang.String s)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object o)
          Equals method.
 java.lang.String getId()
          Get the id.
 int hashCode()
          HashCode method.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocId

public DocId(java.lang.String s)
Constructor

Method Detail

getId

public java.lang.String getId()
Get the id.


equals

public boolean equals(java.lang.Object o)
Equals method.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
HashCode method.

Overrides:
hashCode in class java.lang.Object