public class DefaultWeightedEdge<Q> extends Object implements WeightedEdge<Q>
| Constructor and Description |
|---|
DefaultWeightedEdge(Q source,
Q target,
Double weight) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Q |
getSource() |
Q |
getTarget() |
Double |
getWeight() |
int |
hashCode() |
void |
setSource(Q source) |
void |
setTarget(Q target) |
void |
setWeight(Double weight) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcreatepublic Q getSource()
getSource in interface WeightedEdge<Q>public void setSource(Q source)
source - public Q getTarget()
getTarget in interface WeightedEdge<Q>public void setTarget(Q target)
target - public Double getWeight()
getWeight in interface WeightedEdge<Q>public void setWeight(Double weight)
weight - Copyright © 2018 Terra Software Informatics LLC.. All rights reserved.