public class DefaultDirectedEdge<V> extends Object implements DirectedEdge<V>
Constructor and Description |
---|
DefaultDirectedEdge(V s,
V t) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
Supplier<BiFunction<V,V,Edge<V>>> |
newEdgeSupplier() |
V |
source() |
V |
target() |
String |
toString() |
UndirectedEdge<V> |
toUndirected() |
reverse
equalsEdge, hash, isDirected, isUndirected, str, toStringDelimiter
public UndirectedEdge<V> toUndirected()
toUndirected
in interface DirectedEdge<V>
public Supplier<BiFunction<V,V,Edge<V>>> newEdgeSupplier()
newEdgeSupplier
in interface Edge<V>
Copyright © 2014–2015. All rights reserved.