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