Class Info
public class Summary
公交或行人路段关键属性的实体类对象。
Qualifier and Type
Method Name and Description
int
getLength()
获取持续距离。
getDuration()
获取持续时长。
String
toString()
返回该对象的字符串表示。
Method
public int getLength()
Returns
Type
Description
持续距离,单位:米。
public int getDuration()
持续时长,单位:秒。
public String toString()
该对象的字符串表示。