Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadData.java @ 8140:369fbb28f5d0
Added missing generics parameter.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Tue, 26 Aug 2014 11:35:47 +0200 |
parents | 1e8812b996bc |
children | aa80f9ba56a9 |
comparison
equal
deleted
inserted
replaced
8139:1e8812b996bc | 8140:369fbb28f5d0 |
---|---|
415 return a.getId() - b.getId(); | 415 return a.getId() - b.getId(); |
416 } | 416 } |
417 }; | 417 }; |
418 | 418 |
419 public Collection<Load> findLoads(double a, double b) { | 419 public Collection<Load> findLoads(double a, double b) { |
420 final TreeSet loads = new TreeSet<Load>(LOAD_ID_CMP); | 420 final TreeSet<Load> loads = new TreeSet<Load>(LOAD_ID_CMP); |
421 | 421 |
422 findStations(a, b, new Visitor() { | 422 findStations(a, b, new Visitor() { |
423 @Override | 423 @Override |
424 public void visit(Station station) { | 424 public void visit(Station station) { |
425 station.allLoads(loads); | 425 station.allLoads(loads); |