newInstance

abstract fun newInstance(value: Double): T

Creates a new instance of the class with the given value

Parameters

value

the value to create an instance with