Object TripLength.Companion
-
- All Implemented Interfaces:
public class TripLength.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static TripLength.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final TripLengthcategorize(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
-
-
-
-