Class TempNodeCache.NodePair
- java.lang.Object
-
- org.apache.jena.reasoner.rulesys.impl.TempNodeCache.NodePair
-
- Enclosing class:
- TempNodeCache
public static class TempNodeCache.NodePair extends java.lang.Object
Inner class used to hold and hash a node pair.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Equality of each component.Node
getFirst()
Return the first node in the pair.Node
getSecond()
Return the second node in the pair.int
hashCode()
Simple combined hashcode.
-
-
-
Method Detail
-
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(java.lang.Object o)
Equality of each component.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Simple combined hashcode.- Overrides:
hashCode
in classjava.lang.Object
-
-