类 Vehicle

java.lang.Object
ai.nextbillion.maps.model.Vehicle
所有已实现的接口:
java.io.Serializable

public class Vehicle
extends java.lang.Object
implements java.io.Serializable
The vehicle used on a line.

See Transit details for more detail.

另请参阅:
序列化表格
  • 字段概要

    字段 
    修饰符和类型 字段 说明
    java.lang.String icon
    The URL for an icon associated with this vehicle type.
    java.lang.String localIcon
    The URL for an icon based on the local transport signage.
    java.lang.String name
    The name of the vehicle on this line.
    VehicleType type
    The type of vehicle that runs on this line.
  • 构造器概要

    构造器 
    构造器 说明
    Vehicle()  
  • 方法概要

    修饰符和类型 方法 说明
    java.lang.String toString()  

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 字段详细资料

    • name

      public java.lang.String name
      The name of the vehicle on this line. E.g. "Subway".
    • type

      public VehicleType type
      The type of vehicle that runs on this line. See the VehicleType documentation for a complete list of supported values.
    • icon

      public java.lang.String icon
      The URL for an icon associated with this vehicle type.
    • localIcon

      public java.lang.String localIcon
      The URL for an icon based on the local transport signage.
  • 构造器详细资料

  • 方法详细资料

    • toString

      public java.lang.String toString()
      覆盖:
      toString 在类中 java.lang.Object