edge.java
来自「JPowerGraph is a Java library for creati」· Java 代码 · 共 32 行
JAVA
32 行
package net.sourceforge.jpowergraph;
/**
* The edge of the graph.
*/
public interface Edge {
/**
* Returns the node from which this edge points.
*
* @return the node from which this edge points
*/
Node getFrom();
/**
* Returns the node from which to edge points.
*
* @return the node to which this edge points
*/
Node getTo();
/**
* Returns the label of this node.
*
* @return the label of the node
*/
String getLabels();
/**
* Returns the length of this edge.
*
* @return the ledge of the edge
*/
double getLength();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?