Object TripLength.Companion
-
- All Implemented Interfaces:
public class TripLength.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static TripLength.Companion
INSTANCE
-
Method Summary
Modifier and Type Method Description final TripLength
categorize(Double distanceInMiles)
Convert distance in meters to TripLength category -
-
Method Detail
-
categorize
final TripLength categorize(Double distanceInMiles)
Convert distance in meters to TripLength category
- Parameters:
distanceInMiles
- Trip distance in miles- Returns:
TripLength category
-
-
-
-