protected static class HopCount.Question
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
documentIdentifierHash
Document identifier.
|
protected java.lang.String |
linkType
Link type.
|
| Constructor and Description |
|---|
Question(java.lang.String documentIdentifierHash,
java.lang.String linkType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
The 'question' is uniquely described by linktype, document identifier,
and maximum hop count.
|
java.lang.String |
getDocumentIdentifierHash()
Get the document identifier.
|
java.lang.String |
getLinkType()
Get the link type.
|
int |
hashCode()
Hash must agree with equals, above.
|
protected java.lang.String documentIdentifierHash
protected java.lang.String linkType
public Question(java.lang.String documentIdentifierHash,
java.lang.String linkType)
public java.lang.String getDocumentIdentifierHash()
public java.lang.String getLinkType()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object