public static enum Constants.Sharing extends Enum<Constants.Sharing>
| Enum Constant and Description |
|---|
FREE_FLOATING_VEHICLE_SHARING
e.g.
|
RIDE_SHARING
e.g.
|
RIDE_SOURCING |
STATION_BOUND_VEHICLE_SHARING
e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static Constants.Sharing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.Sharing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.Sharing STATION_BOUND_VEHICLE_SHARING
public static final Constants.Sharing FREE_FLOATING_VEHICLE_SHARING
public static final Constants.Sharing RIDE_SHARING
public static final Constants.Sharing RIDE_SOURCING
public static Constants.Sharing[] values()
for (Constants.Sharing c : Constants.Sharing.values()) System.out.println(c);
public static Constants.Sharing valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.