comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/StaticSedimentLoadCacheKey.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 af13ceeba52a
children
comparison
equal deleted inserted replaced
8150:fe67edde6189 8151:a709e6334c4a
46 return builder.toHashCode(); 46 return builder.toHashCode();
47 } 47 }
48 48
49 @Override 49 @Override
50 public boolean equals(Object other) { 50 public boolean equals(Object other) {
51 if (!(other instanceof StaticBedHeightCacheKey)) { 51 if (!(other instanceof StaticSedimentLoadCacheKey)) {
52 return false; 52 return false;
53 } 53 }
54 StaticSedimentLoadCacheKey o = (StaticSedimentLoadCacheKey) other; 54 StaticSedimentLoadCacheKey o = (StaticSedimentLoadCacheKey) other;
55 return this.river == o.river && 55 return this.river == o.river &&
56 this.startKm == o.startKm && 56 this.startKm == o.startKm &&

http://dive4elements.wald.intevation.org