mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
Update VehicleRoutingProblem.java
This commit is contained in:
parent
a4cd3bc120
commit
21d0a8b578
1 changed files with 7 additions and 0 deletions
|
|
@ -343,11 +343,18 @@ public class VehicleRoutingProblem {
|
|||
* Gets an unmodifiable collection of already added services.
|
||||
*
|
||||
* @return collection of services
|
||||
* @deprecated use .getAddedJobs() instead
|
||||
*/
|
||||
@Deprecated
|
||||
public Collection<Service> getAddedServices(){
|
||||
return Collections.unmodifiableCollection(services);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an unmodifiable collection of already added jobs.
|
||||
*
|
||||
* @return collection of jobs
|
||||
*/
|
||||
public Collection<Job> getAddedJobs(){
|
||||
return Collections.unmodifiableCollection(jobs.values());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue