Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/access/RangeAccess.java @ 6988:fc2de41ebdb8
flys/issue1485 Better titles for UESK layers.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Wed, 11 Sep 2013 13:15:30 +0200 |
parents | 29dc6b6e7199 |
children | 1f38656b68c4 |
comparison
equal
deleted
inserted
replaced
6986:e562a9a42495 | 6988:fc2de41ebdb8 |
---|---|
109 locations.sort(); | 109 locations.sort(); |
110 | 110 |
111 return locations.toNativeArray(); | 111 return locations.toNativeArray(); |
112 } | 112 } |
113 | 113 |
114 public boolean hasFrom() { | |
115 return from != null || (from = getDouble("ld_from")) != null; | |
116 } | |
117 | |
118 public boolean hasTo() { | |
119 return to != null || (to = getDouble("ld_to")) != null; | |
120 } | |
121 | |
114 | 122 |
115 /** Return ld_from data (in km). */ | 123 /** Return ld_from data (in km). */ |
116 public double getFrom() { | 124 public double getFrom() { |
117 if (from == null) { | 125 if (from == null) { |
118 from = getDouble("ld_from"); | 126 from = getDouble("ld_from"); |