org.apache.manifoldcf.crawler.jobs
Class HopCount.NodeReference

java.lang.Object
  extended by org.apache.manifoldcf.crawler.jobs.HopCount.NodeReference
Enclosing class:
HopCount

protected static class HopCount.NodeReference
extends java.lang.Object

This class describes a node link reference.


Field Summary
protected  java.lang.String linkType
          The kind of link it is
protected  HopCount.DocumentNode theNode
          The node being referred to
 
Constructor Summary
HopCount.NodeReference(HopCount.DocumentNode theNode, java.lang.String linkType)
          Constructor
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theNode

protected HopCount.DocumentNode theNode
The node being referred to


linkType

protected java.lang.String linkType
The kind of link it is

Constructor Detail

HopCount.NodeReference

public HopCount.NodeReference(HopCount.DocumentNode theNode,
                              java.lang.String linkType)
Constructor

Method Detail

getNode

public HopCount.DocumentNode getNode()
Get the node


getLinkType

public java.lang.String getLinkType()
Get the link type


hashCode

public int hashCode()
Hash function.

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Is this equal?

Overrides:
equals in class java.lang.Object