67,513
社区成员
发帖
与我相关
我的任务
分享
public class Station {
private int id;
private Set<Wire> wireSet = new HashSet<Wire>(0);
}
public class Wire {
private int id;
// 组成此线路所用缆线组件集合
private Set<WireComponent> wireSet = new HashSet<WireComponent>(0);
}
public class WireComponent {
private WireType wireType; //具体缆线类型
private double length; //长度
private int local; //具体所处位置
}
public class WireType {
private int id;
private String name;
}
加载中
试试用AI创作助手写篇文章吧