目录

Summary

Class Info

public class Summary

公交或行人路段关键属性的实体类对象。

Public Method Summary

Qualifier and Type

Method Name and Description

int

getLength()

获取持续距离。

int

getDuration()

获取持续时长。

String

toString()

返回该对象的字符串表示。

Public Methods

[h2]getLength

Method

public int getLength()

获取持续距离。

Returns

Type

Description

int

持续距离,单位:米。

[h2]getDuration

Method

public int getDuration()

获取持续时长。

Returns

Type

Description

int

持续时长,单位:秒。

[h2]toString

Method

public String toString()

返回该对象的字符串表示。

Returns

Type

Description

String

该对象的字符串表示。