@AnyLogicInternalAPI public enum TrafficLightType extends java.lang.Enum<TrafficLightType>
Enum Constant and Description |
---|
LANE_CONNECTOR |
STOP_LINE |
Modifier and Type | Method and Description |
---|---|
static TrafficLightType |
valueOf(java.lang.Class<?> signalableType)
This method is internal and shouldn't be called by user.
|
static TrafficLightType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TrafficLightType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrafficLightType STOP_LINE
public static final TrafficLightType LANE_CONNECTOR
public static TrafficLightType[] values()
for (TrafficLightType c : TrafficLightType.values()) System.out.println(c);
public static TrafficLightType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@AnyLogicInternalAPI public static TrafficLightType valueOf(java.lang.Class<?> signalableType)
Copyright © AnyLogic North America, LLC. All Rights Reserved.