- Temperature - Class in eecs2030.test1
-
A class that represents temperatures in degrees Celcius or degrees
Fahrenheit.
- Temperature() - Constructor for class eecs2030.test1.Temperature
-
Initializes the temperature to 0 degrees Celcius.
- Temperature(Temperature) - Constructor for class eecs2030.test1.Temperature
-
Initializes the temperature by copying the numeric value and units of
another temperature.
- Temperature(double, String) - Constructor for class eecs2030.test1.Temperature
-
Initializes the temperature to the given numeric value having the given
units.
- toCelcius(double) - Static method in class eecs2030.test1.Temperature
-
Converts a value of degrees Fahrenheit to the equivalent value of degrees
Celcius.
- toDouble(int) - Static method in class eecs2030.test1.Gray
-
Converts an integer gray value to its equivalent double gray value.
- toFahrenheit(double) - Static method in class eecs2030.test1.Temperature
-
Converts a value of degrees Celcius to the equivalent value of degrees
Fahrenheit.
- toInt(double) - Static method in class eecs2030.test1.Gray
-
Converts a double gray value to its equivalent int gray value.
- toKilograms(double) - Static method in class eecs2030.test1.Weight
-
Converts a value of pounds to the equivalent value of kilograms.
- toPounds(double) - Static method in class eecs2030.test1.Weight
-
Converts a value of kilograms to the equivalent value of pounds.
- toString() - Method in class eecs2030.test1.Gray
-
Returns a string representation of this Gray
instance.
- toString() - Method in class eecs2030.test1.Temperature
-
Returns a string made up of the numeric value of the temperature followed
by its units.
- toString() - Method in class eecs2030.test1.Weight
-
Returns a string made up of the numeric value of the weight followed
by a space followed by its units.