- Enclosing class:
- TempNodeCache
public static class TempNodeCache.NodePair
extends Object
Inner class used to hold and hash a node pair.
-
Constructor Summary
Constructors
-
Method Summary
boolean
Equality of each component.
Return the first node in the pair.
Return the second node in the pair.
int
Simple combined hashcode.
-
Constructor Details
-
NodePair
public NodePair(Node first,
Node second)
Constructor
-
Method Details
-
getFirst
Return the first node in the pair.
-
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