protected static class HopCount.NodeReference
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
linkType
The kind of link it is
|
protected HopCount.DocumentNode |
theNode
The node being referred to
|
Constructor and Description |
---|
NodeReference(HopCount.DocumentNode theNode,
java.lang.String linkType)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Is this equal?
|
java.lang.String |
getLinkType()
Get the link type
|
HopCount.DocumentNode |
getNode()
Get the node
|
int |
hashCode()
Hash function.
|
protected HopCount.DocumentNode theNode
protected java.lang.String linkType
public NodeReference(HopCount.DocumentNode theNode, java.lang.String linkType)
public HopCount.DocumentNode getNode()
public java.lang.String getLinkType()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object