code: public float getFloat(Enum<?> key, float defaultValue)
      {
          if (key == null)
          {
              return defaultValue;
          }
  
          return getFloat(key.name(), defaultValue);
      }
docs: Equivalent to {@link #getFloat(String, float)
  getFloat}{@code (key.name(), defaultValue)}.
  If {@code key} is null, {@code defaultValue} is returned.