Interface RoadAccess
public interface RoadAccess
List of disjoint
RoadAccessType
values that can be combined to create more types using
the RoadAccessType.union
method. For example, an access denied to
RoadAccess.Automobiles
and RoadAccess.Truck
could be defined as:
RoadAccess.Automobile.union(RoadAccess.Truck)
Note that disjoint means that applying the method RoadAccessType.intersect
to any pair
of different values returns false
. You can use the RoadAccess.values
method to
retrieve all these values.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RoadAccessType
static final RoadAccessType
static final RoadAccessType
static final RoadAccessType
static final RoadAccessType
static final RoadAccessType
static final RoadAccessType
static final RoadAccessType
static final RoadAccessType
static final RoadAccessType
static final RoadAccessType
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic RoadAccessType[]
values()
List all disjoint values listed inRoadAccess
.
-
Field Details
-
None
-
Automobile
-
Bus
-
Taxi
-
Carpool
-
Pedestrian
-
Truck
-
ThroughTraffic
-
Delivery
-
EmergencyVehicle
-
Motorcycle
-
-
Method Details
-
values
List all disjoint values listed inRoadAccess
.- Returns:
- all disjoint values listed in
RoadAccess
.
-