Interface FluidTemperature.DiscreteFluidTemperature
- All Superinterfaces:
FluidTemperature
- Enclosing interface:
- FluidTemperature
A Discrete
FluidTemperature
has a single temperature per FluidKey
.-
Nested Class Summary
Nested classes/interfaces inherited from interface alexiil.mc.lib.attributes.fluid.volume.FluidTemperature
FluidTemperature.ContinuousFluidTemperature, FluidTemperature.DiscreteFluidTemperature
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getTemperature(FluidKey fluidKey)
default double
getTemperature(FluidVolume fluid)
Methods inherited from interface alexiil.mc.lib.attributes.fluid.volume.FluidTemperature
addTemperatureToTooltip, addTemperatureToTooltip
-
Method Details
-
getTemperature
- Throws:
IllegalArgumentException
- if this temperature scale doesn't apply to the givenFluidKey
.
-
getTemperature
- Specified by:
getTemperature
in interfaceFluidTemperature
- Returns:
- The temperature of the fluid, in degrees C.
-