tripkit-android / com.skedgo.tripkit.routing / TripComparators

TripComparators

class TripComparators

Properties

Name Summary
CARBON_COST_COMPARATOR static val CARBON_COST_COMPARATOR:Comparator<Trip!>!
DURATION_COMPARATOR static val DURATION_COMPARATOR:Comparator<Trip!>!
END_TIME_COMPARATOR static val END_TIME_COMPARATOR:Comparator<Trip!>!
MONEY_COST_COMPARATOR static val MONEY_COST_COMPARATOR:Comparator<Trip!>!
START_TIME_COMPARATOR static val START_TIME_COMPARATOR:Comparator<Trip!>!
TIME_COMPARATOR_CHAIN static val TIME_COMPARATOR_CHAIN:Comparator<Trip!>!
WEIGHTED_SCORE_COMPARATOR static val WEIGHTED_SCORE_COMPARATOR:Comparator<Trip!>!

Functions

Name Summary
compareLongs static fun compareLongs(lhs:Long, rhs:Long):Int