jdk/src/share/classes/sun/tools/jstat/Scale.java
changeset 24871 224e298c3978
parent 5506 202f599c92aa
equal deleted inserted replaced
24870:5d567113d043 24871:224e298c3978
   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;