Class HopCount.NodeReference
- java.lang.Object
-
- org.apache.manifoldcf.crawler.jobs.HopCount.NodeReference
-
- Enclosing class:
- HopCount
protected static class HopCount.NodeReference extends java.lang.ObjectThis class describes a node link reference.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringlinkTypeThe kind of link it isprotected HopCount.DocumentNodetheNodeThe 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 booleanequals(java.lang.Object o)Is this equal?java.lang.StringgetLinkType()Get the link typeHopCount.DocumentNodegetNode()Get the nodeinthashCode()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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
Is this equal?- Overrides:
equalsin classjava.lang.Object
-
-