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

add overrides

This commit is contained in:
oblonski 2015-03-06 17:02:08 +01:00
parent 7234e12ec7
commit 335b58d95a
2 changed files with 10 additions and 0 deletions

View file

@ -42,6 +42,11 @@ class JobNeighborhoodsImpl implements JobNeighborhoods {
public Job next() { public Job next() {
return null; return null;
} }
@Override
public void remove() {
}
}; };
Iterator<ReferencedJob> descendingIterator = tree.iterator(); Iterator<ReferencedJob> descendingIterator = tree.iterator();
return new NearestNeighborhoodIterator(descendingIterator, nNeighbors); return new NearestNeighborhoodIterator(descendingIterator, nNeighbors);

View file

@ -47,6 +47,11 @@ class JobNeighborhoodsImplWithCapRestriction implements JobNeighborhoods {
return null; return null;
} }
@Override
public void remove() {
}
}; };
Iterator<ReferencedJob> descendingIterator = tree.iterator(); Iterator<ReferencedJob> descendingIterator = tree.iterator();
return new NearestNeighborhoodIterator(descendingIterator, nNeighbors); return new NearestNeighborhoodIterator(descendingIterator, nNeighbors);