📄 beg_end_sta.java
字号:
//beg_end_sta.java
//该类用于描述起始车站
public class Beg_end_sta
{
Station begining;
Station ending;
public Beg_end_sta( Station begining ,Station ending )
{
this.begining=new Station();
this.begining=begining;
this.ending=new Station();
this.ending=ending;
}
public Beg_end_sta()
{
this.begining=new Station();
this.ending=new Station();
}
public void set_be_sta( Station begining ,Station ending )
{
this.begining=begining;
this.ending=ending;
}
public Beg_end_sta get_be_sta( )
{
return this;
}
public Station getBegSta()
{
return this.begining;
}
public Station getEndSta()
{
return this.ending;
}
public String getBegName()
{
return this.begining.getname();
}
public String getEndName()
{
return this.ending.getname();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -