目录

Arrival

Class Info

public class Arrival

公交或行人到达路段信息的实体类对象。

Public Method Summary

Qualifier and Type

Method Name and Description

int

getDelay()

获取延迟时间。

Place

getPlace()

获取地点位置信息。

String

getStatus()

获取状态。

String

getTime()

获取出发时间。

String

toString()

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

Public Methods

[h2]getDelay

Method

public int getDelay()

获取延迟时间。

Returns

Type

Description

int

延迟时间,单位:秒。

[h2]getPlace

Method

public Place getPlace()

获取地点位置信息。

Returns

Type

Description

Place

地点位置信息。

[h2]getStatus

Method

public String getStatus()

获取状态。

Returns

Type

Description

String

状态。

[h2]getTime

Method

public String getTime()

获取到达时间。

Returns

Type

Description

String

到达时间。

[h2]toString

Method

public String toString()

获取该对象的字符串展示。

Returns

Type

Description

String

字符串展示。