本文整理汇总了Java中org.mtransit.parser.mt.data.MTripStop类的典型用法代码示例。如果您正苦于以下问题:Java MTripStop类的具体用法?Java MTripStop怎么用?Java MTripStop使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
MTripStop类属于org.mtransit.parser.mt.data包,在下文中一共展示了MTripStop类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: compareEarly
import org.mtransit.parser.mt.data.MTripStop; //导入依赖的package包/类
@Override
public int compareEarly(long routeId, List<MTripStop> list1, List<MTripStop> list2, MTripStop ts1, MTripStop ts2, GStop ts1GStop, GStop ts2GStop) {
if (ALL_ROUTE_TRIPS2.containsKey(routeId)) {
return ALL_ROUTE_TRIPS2.get(routeId).compare(routeId, list1, list2, ts1, ts2, ts1GStop, ts2GStop);
}
return super.compareEarly(routeId, list1, list2, ts1, ts2, ts1GStop, ts2GStop);
}
开发者ID:mtransitapps,项目名称:ca-vernon-transit-system-bus-parser,代码行数:8,代码来源:VernonTransitSystemBusAgencyTools.java
示例2: compareEarly
import org.mtransit.parser.mt.data.MTripStop; //导入依赖的package包/类
@Override
public int compareEarly(long routeId, List<MTripStop> list1, List<MTripStop> list2, MTripStop ts1, MTripStop ts2, GStop ts1GStop, GStop ts2GStop) {
if (ALL_ROUTE_TRIPS2.containsKey(routeId)) {
return ALL_ROUTE_TRIPS2.get(routeId).compare(routeId, list1, list2, ts1, ts2, ts1GStop, ts2GStop);
}
System.out.printf("\n%s: Unexpected compare early route!\n", routeId);
System.exit(-1);
return -1;
}
开发者ID:mtransitapps,项目名称:ca-welland-transit-bus-parser,代码行数:10,代码来源:WellandTransitBusAgencyTools.java
示例3: compare
import org.mtransit.parser.mt.data.MTripStop; //导入依赖的package包/类
@Override
public int compare(long routeId, List<MTripStop> list1, List<MTripStop> list2, MTripStop ts1, MTripStop ts2, GStop ts1GStop, GStop ts2GStop) {
return super.compare(routeId, list1, list2, ts1, ts2, ts1GStop, ts2GStop);
}