T - The type of the nodes this edge connectspublic abstract class Edge<T extends Node> extends Object
| Constructor and Description |
|---|
Edge(T nodeA,
T nodeB)
Creates a new edge for the given nodes.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
T |
getNodeA()
Returns the first node of this edge.
|
T |
getNodeB()
Returns the second node of this edge.
|
int |
hashCode() |
Copyright © 2018. All rights reserved.