Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffCalculation.java @ 8151:a709e6334c4a
IDs can be assumed to be unique.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 28 Aug 2014 18:42:20 +0200 |
parents | b5cba2690347 |
children | 856701739443 |
comparison
equal
deleted
inserted
replaced
8150:fe67edde6189 | 8151:a709e6334c4a |
---|---|
63 } | 63 } |
64 | 64 |
65 /** Get two BedHeights from factory. */ | 65 /** Get two BedHeights from factory. */ |
66 private static BedHeightData [] getHeightPair(int [] ids, String type) { | 66 private static BedHeightData [] getHeightPair(int [] ids, String type) { |
67 return new BedHeightData [] { | 67 return new BedHeightData [] { |
68 BedHeightFactory.getHeight(type, ids[0], 0), | 68 BedHeightFactory.getHeight(type, ids[0]), |
69 BedHeightFactory.getHeight(type, ids[1], 0) | 69 BedHeightFactory.getHeight(type, ids[1]) |
70 }; | 70 }; |
71 } | 71 } |
72 | 72 |
73 private BedDiffYearResult calculateYearDifference(BedHeightData[] pair) { | 73 private BedDiffYearResult calculateYearDifference(BedHeightData[] pair) { |
74 logger.debug("BedDiffCalculation.calculateYearDifference"); | 74 logger.debug("BedDiffCalculation.calculateYearDifference"); |