枚举 VehicleType
java.lang.Object
java.lang.Enum<VehicleType>
ai.nextbillion.maps.model.VehicleType
- 所有已实现的接口:
java.io.Serializable,java.lang.Comparable<VehicleType>,java.lang.constant.Constable
public enum VehicleType extends java.lang.Enum<VehicleType>
The vehicle types.
See Vehicle Type for more detail.
-
嵌套类概要
-
枚举常量概要
枚举常量 枚举常量 说明 BUSBus.CABLE_CARA vehicle that operates on a cable, usually on the ground.COMMUTER_TRAINCommuter rail.FERRYFerry.FUNICULARA vehicle that is pulled up a steep incline by a cable.GONDOLA_LIFTAn aerial cable car.HEAVY_RAILHeavy rail.HIGH_SPEED_TRAINHigh speed train.INTERCITY_BUSIntercity bus.METRO_RAILLight rail transit.MONORAILMonorail.OTHERAll other vehicles will return this type.RAILRail.SHARE_TAXIShare taxi is a kind of bus with the ability to drop off and pick up passengers anywhere on its route.SUBWAYUnderground light rail.TRAMAbove ground light rail.TROLLEYBUSTrolleybus. -
方法概要
修饰符和类型 方法 说明 static VehicleTypevalueOf(java.lang.String name)返回带有指定名称的该类型的枚举常量。static VehicleType[]values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。
-
枚举常量详细资料
-
RAIL
Rail. -
METRO_RAIL
Light rail transit. -
SUBWAY
Underground light rail. -
TRAM
Above ground light rail. -
MONORAIL
Monorail. -
HEAVY_RAIL
Heavy rail. -
COMMUTER_TRAIN
Commuter rail. -
HIGH_SPEED_TRAIN
High speed train. -
BUS
Bus. -
INTERCITY_BUS
Intercity bus. -
TROLLEYBUS
Trolleybus. -
SHARE_TAXI
Share taxi is a kind of bus with the ability to drop off and pick up passengers anywhere on its route. -
FERRY
Ferry. -
CABLE_CAR
A vehicle that operates on a cable, usually on the ground. Aerial cable cars may be of the typeGONDOLA_LIFT. -
GONDOLA_LIFT
An aerial cable car. -
FUNICULAR
A vehicle that is pulled up a steep incline by a cable. A Funicular typically consists of two cars, with each car acting as a counterweight for the other. -
OTHER
All other vehicles will return this type.
-
-
方法详细资料