Module org.arakhne.afc.gis.gisbus
Package org.arakhne.afc.gis.bus.network
Enum BusItineraryHalt.BusItineraryHaltType
- java.lang.Object
-
- java.lang.Enum<BusItineraryHalt.BusItineraryHaltType>
-
- org.arakhne.afc.gis.bus.network.BusItineraryHalt.BusItineraryHaltType
-
- All Implemented Interfaces:
Serializable
,Comparable<BusItineraryHalt.BusItineraryHaltType>
- Enclosing class:
- BusItineraryHalt
public static enum BusItineraryHalt.BusItineraryHaltType extends Enum<BusItineraryHalt.BusItineraryHaltType>
Type of bus halt.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:56
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- gisbus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description STOP_ON_DEMAND
Stop on demand.SYSTEMATIC_STOP
Stop everytimes.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BusItineraryHalt.BusItineraryHaltType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BusItineraryHalt.BusItineraryHaltType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYSTEMATIC_STOP
public static final BusItineraryHalt.BusItineraryHaltType SYSTEMATIC_STOP
Stop everytimes.
-
STOP_ON_DEMAND
public static final BusItineraryHalt.BusItineraryHaltType STOP_ON_DEMAND
Stop on demand.
-
-
Method Detail
-
values
public static BusItineraryHalt.BusItineraryHaltType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BusItineraryHalt.BusItineraryHaltType c : BusItineraryHalt.BusItineraryHaltType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BusItineraryHalt.BusItineraryHaltType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-