1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

add tests to VehicleRoutingProblem

This commit is contained in:
oblonski 2013-12-29 23:36:57 +01:00
parent 8234ff8638
commit 5842bd73a4
3 changed files with 284 additions and 99 deletions

View file

@ -303,10 +303,10 @@ public class VehicleRoutingProblem {
/**
* Adds a collection of jobs.
*
* @param jobs
* @param jobs which is a collection of jobs that subclasses Job
* @return
*/
public Builder addAllJobs(Collection<Job> jobs) {
public Builder addAllJobs(Collection<? extends Job> jobs) {
for(Job j : jobs){
addJob(j);
}