public class NodePair
extends Object
An unordered pair of nodes.
- Version:
- $Id: $Id
- Author:
- Tyler Gibson
-
Constructor Summary
Constructors
Constructor for NodePair.
-
Method Summary
boolean
Getter for the field first.
Getter for the field second.
int
-
Constructor Details
-
NodePair
public NodePair(Node first,
Node second)
Constructor for NodePair.
- Parameters:
first - a Node object
second - a Node object
-
Method Details
-
getFirst
Getter for the field first.
- Returns:
- a
Node object
-
getSecond
Getter for the field second.
- Returns:
- a
Node object
-
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
- Returns:
- a int
-
-