本文整理汇总了Java中org.mtransit.parser.Pair类的典型用法代码示例。如果您正苦于以下问题:Java Pair类的具体用法?Java Pair怎么用?Java Pair使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Pair类属于org.mtransit.parser包,在下文中一共展示了Pair类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: splitTripStop
import org.mtransit.parser.Pair; //导入依赖的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.Pair; //导入依赖的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.Pair; //导入依赖的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
示例4: splitTripStop
import org.mtransit.parser.Pair; //导入依赖的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: Unexptected split trip stop route!\n", mRoute.getId());
System.exit(-1);
return null;
}
开发者ID:mtransitapps,项目名称:ca-niagara-falls-wego-bus-parser,代码行数:10,代码来源:NiagaraFallsWEGOBusAgencyTools.java