@Override
public RouteEntry createRouteEntry(final boolean isComplex) {
if (isComplex) {
- return new ComplexRouteEntry(this.nBestPaths);
+ return new ComplexRouteEntry(this.getNBestPaths());
} else {
- return new SimpleRouteEntry(this.nBestPaths);
+ return new SimpleRouteEntry(this.getNBestPaths());
}
}
+
+ public Long getNBestPaths() {
+ return nBestPaths;
+ }
}
\ No newline at end of file