RangedProperty
class RangedProperty<T : Comparable<T>> : VehicleProperties.VehicleProperty<T>
Content copied to clipboard
Property holding an optional Comparable value (such as a number) constrained by the range.
Parameters
T
The type specification for the members of this class.
min
The minimum value which can be set for this property.
max
The maximum value which can be set for this property.
value
Current value of the property. Can be null
if it is temporarily unavailable or invalid.
Types
Link copied to clipboard
object CREATOR : Parcelable.Creator<VehicleProperties.RangedProperty<*>>
Content copied to clipboard