tripkit-android / com.skedgo.tripkit.routing / TripGroupComparators
TripGroupComparators
class TripGroupComparators
Properties
Name | Summary |
---|---|
ARRIVAL_COMPARATOR_CHAIN | To sort routes by leave-after query. static val ARRIVAL_COMPARATOR_CHAIN: Comparator < TripGroup !>! |
DEPARTURE_COMPARATOR_CHAIN | To sort routes by arrive-by query. static val DEPARTURE_COMPARATOR_CHAIN: Comparator < TripGroup !>! |
DESC_VISIBILITY_COMPARATOR | static val DESC_VISIBILITY_COMPARATOR: Comparator < TripGroup !>! |
DISPLAY_TRIP_TRANSFORMER | static val DISPLAY_TRIP_TRANSFORMER: Transformer< TripGroup !, Trip !>! |
DURATION_COMPARATOR | static val DURATION_COMPARATOR: Comparator < TripGroup !>! |
END_TIME_COMPARATOR | static val END_TIME_COMPARATOR: Comparator < TripGroup !>! |
MONEY_COST_COMPARATOR | static val MONEY_COST_COMPARATOR: Comparator < TripGroup !>! |
START_TIME_COMPARATOR | static val START_TIME_COMPARATOR: Comparator < TripGroup !>! |
WEIGHTED_SCORE_COMPARATOR | static val WEIGHTED_SCORE_COMPARATOR: Comparator < TripGroup !>! |
Functions
Name | Summary |
---|---|
createDurationComparatorChain | static fun createDurationComparatorChain(willArriveBy: Boolean ): Comparator < TripGroup !>! |
createPreferredComparatorChain | static fun createPreferredComparatorChain(willArriveBy: Boolean ): Comparator < TripGroup !>! |
createPriceComparatorChain | static fun createPriceComparatorChain(willArriveBy: Boolean ): Comparator < TripGroup !>! |