Class TempNodeCache.NodePair

java.lang.Object
org.apache.jena.reasoner.rulesys.impl.TempNodeCache.NodePair
Enclosing class:
TempNodeCache

public static class TempNodeCache.NodePair extends Object
Inner class used to hold and hash a node pair.
  • Constructor Details

    • NodePair

      public NodePair(Node first, Node second)
      Constructor
  • Method Details

    • getFirst

      public Node getFirst()
      Return the first node in the pair.
    • getSecond

      public Node getSecond()
      Return the second node in the pair.
    • equals

      public boolean equals(Object o)
      Equality of each component.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Simple combined hashcode.
      Overrides:
      hashCode in class Object