Class HopCount.NodeReference
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected java.lang.String
linkType
The kind of link it isprotected HopCount.DocumentNode
theNode
The node being referred to
-
Constructor Summary
Constructors Constructor Description NodeReference(HopCount.DocumentNode theNode, java.lang.String linkType)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Is this equal?java.lang.String
getLinkType()
Get the link typeHopCount.DocumentNode
getNode()
Get the nodeint
hashCode()
Hash function.
-
-
-
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
-
NodeReference
public 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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
Is this equal?- Overrides:
equals
in classjava.lang.Object
-
-