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:
parent
8234ff8638
commit
5842bd73a4
3 changed files with 284 additions and 99 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue