equal
deleted
inserted
replaced
173 * Returns an enumeration of the keys for this enumerated type |
173 * Returns an enumeration of the keys for this enumerated type |
174 * |
174 * |
175 * @param s an string to match against Scale objects. |
175 * @param s an string to match against Scale objects. |
176 * @return The Scale object matching the given string. |
176 * @return The Scale object matching the given string. |
177 */ |
177 */ |
178 protected static Set keySet() { |
178 protected static Set<String> keySet() { |
179 return map.keySet(); |
179 return map.keySet(); |
180 } |
180 } |
181 |
181 |
182 protected double scale(double value) { |
182 protected double scale(double value) { |
183 return value/factor; |
183 return value/factor; |