Automatic code reformatting

This commit is contained in:
mezz committed 2016-12-22 16:53:55 -08:00
1 parent 9611ae08ae
commit 8cfafec6f9
672 files changed
+2462 -2985

No files matched your search

@@ -8,25 +8,27 @@ import forestry.api.core.EnumTemperature;
public interface IClimateHelper {
/**
* Determines whether the given temperature and humidity are within the given constraints.
*
* @param temperature The temperature to test.
* @param humidity The humidity to test.
* @param baseTemp Base temperature for the test.
* @param tolTemp Temperature tolerance to apply.
* @param baseHumid Base humidity for the test.
* @param tolHumid Humidity tolerance to apply.
* @param humidity The humidity to test.
* @param baseTemp Base temperature for the test.
* @param tolTemp Temperature tolerance to apply.
* @param baseHumid Base humidity for the test.
* @param tolHumid Humidity tolerance to apply.
* @return true if both temperature and humidity fit the given constraints.
*/
boolean isWithinLimits(EnumTemperature temperature, EnumHumidity humidity,
EnumTemperature baseTemp, EnumTolerance tolTemp,
EnumHumidity baseHumid, EnumTolerance tolHumid);
EnumTemperature baseTemp, EnumTolerance tolTemp,
EnumHumidity baseHumid, EnumTolerance tolHumid);
boolean isWithinLimits(EnumTemperature temperature, EnumTemperature baseTemp, EnumTolerance tolTemp);
boolean isWithinLimits(EnumHumidity humidity, EnumHumidity baseHumid, EnumTolerance tolHumid);
/**
* Gets a collection of humidities which fit the given parameters.
* @param prefered Base humidity from which to measure.
*
* @param prefered Base humidity from which to measure.
* @param tolerance Tolerance to apply to the base humidity.
* @return A collection of humidities which fall within the given parameters.
*/
@@ -34,14 +36,16 @@ public interface IClimateHelper {
/**
* Gets a collection of temperatures which fit the given parameters.
* @param prefered Base temperature from which to measure.
*
* @param prefered Base temperature from which to measure.
* @param tolerance Tolerance to apply to the base temperatures.
* @return A collection of temperatures which fall within the given parameters.
*/
Collection<EnumTemperature> getToleratedTemperature(EnumTemperature prefered, EnumTolerance tolerance);
/**
* Gets a localized, human readable string for the given temperature.
*
* @param temperature Temperature to generate the string for.
* @return A localized, human readable string for the given temperature.
*/
@@ -49,6 +53,7 @@ public interface IClimateHelper {
/**
* Gets a localized, human readable string for the given humidity.
*
* @param humidity Humidity to generate the string for.
* @return A localized, human readable string for the given humidity.
*/