📄 weightededge.java
字号:
package salvo.jesus.graph;/** * Represents a weighted edge in a graph. * * @author Jesus M. Salvo Jr. */public interface WeightedEdge extends Edge{ /** * Returns the weight of the edge. */ public double getWeight(); /** * Sets the weight of the edge. * * @param weight The new weight of the edge */ public void setWeight( double weight );}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -