Class HopCount.NodeReference

  • Enclosing class:
    HopCount

    protected static class HopCount.NodeReference
    extends java.lang.Object
    This class describes a node link reference.
    • Field Detail

      • 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

      • 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