本文整理汇总了Java中org.mtransit.parser.SplitUtils.splitTripStop方法的典型用法代码示例。如果您正苦于以下问题:Java SplitUtils.splitTripStop方法的具体用法?Java SplitUtils.splitTripStop怎么用?Java SplitUtils.splitTripStop使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.mtransit.parser.SplitUtils
的用法示例。
在下文中一共展示了SplitUtils.splitTripStop方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: splitTripStop
import org.mtransit.parser.SplitUtils; //导入方法依赖的package包/类
@Override
public Pair<Long[], Integer[]> splitTripStop(MRoute mRoute, GTrip gTrip, GTripStop gTripStop, ArrayList<MTrip> splitTrips, GSpec routeGTFS) {
if (ALL_ROUTE_TRIPS2.containsKey(mRoute.getId())) {
return SplitUtils.splitTripStop(mRoute, gTrip, gTripStop, routeGTFS, ALL_ROUTE_TRIPS2.get(mRoute.getId()));
}
return super.splitTripStop(mRoute, gTrip, gTripStop, splitTrips, routeGTFS);
}
开发者ID:mtransitapps,项目名称:ca-vernon-transit-system-bus-parser,代码行数:8,代码来源:VernonTransitSystemBusAgencyTools.java
示例2: splitTripStop
import org.mtransit.parser.SplitUtils; //导入方法依赖的package包/类
@Override
public Pair<Long[], Integer[]> splitTripStop(MRoute mRoute, GTrip gTrip, GTripStop gTripStop, ArrayList<MTrip> splitTrips, GSpec routeGTFS) {
if (ALL_ROUTE_TRIPS2.containsKey(mRoute.getId())) {
return SplitUtils.splitTripStop(mRoute, gTrip, gTripStop, routeGTFS, ALL_ROUTE_TRIPS2.get(mRoute.getId()));
}
System.out.printf("\n%s: Unexpected trip to split %s!\n", mRoute.getId(), gTrip);
System.exit(-1);
return null;
}
开发者ID:mtransitapps,项目名称:ca-welland-transit-bus-parser,代码行数:10,代码来源:WellandTransitBusAgencyTools.java
示例3: splitTripStop
import org.mtransit.parser.SplitUtils; //导入方法依赖的package包/类
@Override
public Pair<Long[], Integer[]> splitTripStop(MRoute mRoute, GTrip gTrip, GTripStop gTripStop, ArrayList<MTrip> splitTrips, GSpec routeGTFS) {
if (ALL_ROUTE_TRIPS2.containsKey(mRoute.getId())) {
return SplitUtils.splitTripStop(mRoute, gTrip, gTripStop, routeGTFS, ALL_ROUTE_TRIPS2.get(mRoute.getId()));
}
System.out.printf("\n%s: Unexpected split trip stop route!\n", mRoute.getId());
System.exit(-1);
return null;
}
开发者ID:mtransitapps,项目名称:ca-banff-roam-transit-bus-parser,代码行数:10,代码来源:BanffRoamTransitBusAgencyTools.java