public class FluidViscosityProperty extends IntProperty
meter/second^2 * (x10^-3)
.
Higher viscosity means that a fluid flows more slowly, like molasses. Lower viscosity means that a fluid flows more quickly, like alcohol.
Property.Operator
operator, value
Constructor and Description |
---|
FluidViscosityProperty(int value)
Creates a new
FluidViscosityProperty with the desired viscosity. |
FluidViscosityProperty(int value,
Property.Operator operator)
Creates a new
FluidViscosityProperty with the desired viscosity
and Property.Operator for comparisons. |
compareTo
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches, toString
public FluidViscosityProperty(int value)
FluidViscosityProperty
with the desired viscosity.value
- The viscositypublic FluidViscosityProperty(int value, Property.Operator operator)
FluidViscosityProperty
with the desired viscosity
and Property.Operator
for comparisons.value
- The viscosityoperator
- The operator